POST Billings/PostingPeriod?validateOnly={validateOnly}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
validateOnly | boolean |
Default value is False |
Body Parameters
PostingPeriodDTOName | Description | Type | Additional information |
---|---|---|---|
PostingPeriodID | integer |
None. |
|
StartDate | date |
None. |
|
StopDate | date |
None. |
|
Status | PostingPeriodStatus |
None. |
|
RecordState | RecordState |
None. |
|
Created | AuditDataDTO |
None. |
|
LastUpdated | AuditDataDTO |
None. |
|
IsLastPeriod | boolean |
None. |
|
IsFirstPeriod | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "postingPeriodID": 1, "startDate": "2024-12-04T08:01:59.1852537+00:00", "stopDate": "2024-12-04T08:01:59.1852537+00:00", "status": 1, "recordState": 1, "created": { "dateUtc": "2024-12-04T08:01:59.1852537+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:01:59 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T08:01:59.1852537+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:01:59 AM" }, "isLastPeriod": true, "isFirstPeriod": true }
application/xml, text/xml
Sample:
<PostingPeriodDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Billings.Models"> <Created xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models"> <d2p1:DateUtc>2024-12-04T08:01:59.1852537+00:00</d2p1:DateUtc> <d2p1:UserName>sample string 2</d2p1:UserName> </Created> <IsFirstPeriod>true</IsFirstPeriod> <IsLastPeriod>true</IsLastPeriod> <LastUpdated xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models"> <d2p1:DateUtc>2024-12-04T08:01:59.1852537+00:00</d2p1:DateUtc> <d2p1:UserName>sample string 2</d2p1:UserName> </LastUpdated> <PostingPeriodID>1</PostingPeriodID> <RecordState>Active</RecordState> <StartDate>2024-12-04T08:01:59.1852537+00:00</StartDate> <Status>Closed</Status> <StopDate>2024-12-04T08:01:59.1852537+00:00</StopDate> </PostingPeriodDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/x-compressed-json
Sample:
� �QA �0�JثV��b�MAP�M��5e�=��2>�/�T/�Eo�vgggf���v��y�����ʙ���'�4�dA��2M�Lx���Be���3���=�����������ҡ�R��m( �3�PT~��z�k]�^���2O�b2�u���9c�Ȅ��h�^�l��K�Sј�S�e�|(��Fl^�;xy �G���
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, application/x-compressed-json
Sample:
Sample not available.