PUT Billings/PostingPeriod/{postingPeriodID}?validateOnly={validateOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
postingPeriodID

integer

Required

validateOnly

boolean

Default value is False

Body Parameters

PostingPeriodDTO
NameDescriptionTypeAdditional 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:04:20.9816062+00:00",
  "stopDate": "2024-12-04T08:04:20.9816062+00:00",
  "status": 1,
  "recordState": 1,
  "created": {
    "dateUtc": "2024-12-04T08:04:20.9816062+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:04:20 AM"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T08:04:20.9816062+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:04:20 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:04:20.9816062+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:04:20.9816062+00:00</d2p1:DateUtc>
    <d2p1:UserName>sample string 2</d2p1:UserName>
  </LastUpdated>
  <PostingPeriodID>1</PostingPeriodID>
  <RecordState>Active</RecordState>
  <StartDate>2024-12-04T08:04:20.9816062+00:00</StartDate>
  <Status>Closed</Status>
  <StopDate>2024-12-04T08:04:20.9816062+00:00</StopDate>
</PostingPeriodDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/x-compressed-json

Sample:
��QA
1�J��U�e�MAP��m�®]��A_��'�[�"^��-�Lf&�v�v����x�Xr�,f��k�f
$ʢ��>;+,���d��p${�
�7?�5���D��d��X�}I6�T&{.��l����S��릲"0Ż�L�m]k:}΄?�\�a�/m1]�9�J�7�_⸰���o��ڄ����;?Ж�

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, application/x-compressed-json

Sample:

Sample not available.