POST api/{programid}/Timesheets/NavisionInvoiceItems
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| programid | string |
Required |
Body Parameters
NavisionInvoiceParams| Name | Description | Type | Additional information |
|---|---|---|---|
| ExternalDocumentNo | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"ExternalDocumentNo": "2b6608e0-8325-4b83-b7c6-3876ee5cfd57"
}
application/xml, text/xml
Sample:
<NavisionInvoiceParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.WebApi.Models.Timesheet"> <ExternalDocumentNo>2b6608e0-8325-4b83-b7c6-3876ee5cfd57</ExternalDocumentNo> </NavisionInvoiceParams>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of TimesheetInvoiceItem| Name | Description | Type | Additional information |
|---|---|---|---|
| ExternalDocumentNo | globally unique identifier |
None. |
|
| Status | globally unique identifier |
None. |
|
| PostingDate | date |
None. |
|
| DateWorked | date |
None. |
|
| EmployeeNo | string |
None. |
|
| ConsumerNo | string |
None. |
|
| TotalAmount | decimal number |
None. |
|
| CheckNo | string |
None. |
|
| TimesheetNo | string |
None. |
|
| LineNumber | integer |
None. |
|
| Amount | decimal number |
None. |
|
| PricePerUnit | decimal number |
None. |
|
| ServiceCode | string |
None. |
|
| ServiceDescription | string |
None. |
|
| PendMessage | string |
None. |
|
| RejectionNote | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ExternalDocumentNo": "0ef204f0-97d8-456b-ae06-9679c83c33f3",
"Status": "8c9d30fe-795c-448a-a467-9180bd918a84",
"PostingDate": "2025-10-24T18:45:29.1954191-04:00",
"DateWorked": "2025-10-24T18:45:29.1954191-04:00",
"EmployeeNo": "sample string 5",
"ConsumerNo": "sample string 6",
"TotalAmount": 7.0,
"CheckNo": "sample string 8",
"TimesheetNo": "sample string 9",
"LineNumber": 10,
"Amount": 11.0,
"PricePerUnit": 12.0,
"ServiceCode": "sample string 13",
"ServiceDescription": "sample string 14",
"PendMessage": "sample string 15",
"RejectionNote": "sample string 16"
},
{
"ExternalDocumentNo": "0ef204f0-97d8-456b-ae06-9679c83c33f3",
"Status": "8c9d30fe-795c-448a-a467-9180bd918a84",
"PostingDate": "2025-10-24T18:45:29.1954191-04:00",
"DateWorked": "2025-10-24T18:45:29.1954191-04:00",
"EmployeeNo": "sample string 5",
"ConsumerNo": "sample string 6",
"TotalAmount": 7.0,
"CheckNo": "sample string 8",
"TimesheetNo": "sample string 9",
"LineNumber": 10,
"Amount": 11.0,
"PricePerUnit": 12.0,
"ServiceCode": "sample string 13",
"ServiceDescription": "sample string 14",
"PendMessage": "sample string 15",
"RejectionNote": "sample string 16"
}
]
application/xml, text/xml
Sample:
<ArrayOfTimesheetInvoiceItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.Models.WebAPI_DTO.Timesheet">
<TimesheetInvoiceItem>
<Amount>11</Amount>
<CheckNo>sample string 8</CheckNo>
<ConsumerNo>sample string 6</ConsumerNo>
<DateWorked>2025-10-24T18:45:29.1954191-04:00</DateWorked>
<EmployeeNo>sample string 5</EmployeeNo>
<ExternalDocumentNo>0ef204f0-97d8-456b-ae06-9679c83c33f3</ExternalDocumentNo>
<LineNumber>10</LineNumber>
<PendMessage>sample string 15</PendMessage>
<PostingDate>2025-10-24T18:45:29.1954191-04:00</PostingDate>
<PricePerUnit>12</PricePerUnit>
<RejectionNote>sample string 16</RejectionNote>
<ServiceCode>sample string 13</ServiceCode>
<ServiceDescription>sample string 14</ServiceDescription>
<Status>8c9d30fe-795c-448a-a467-9180bd918a84</Status>
<TimesheetNo>sample string 9</TimesheetNo>
<TotalAmount>7</TotalAmount>
</TimesheetInvoiceItem>
<TimesheetInvoiceItem>
<Amount>11</Amount>
<CheckNo>sample string 8</CheckNo>
<ConsumerNo>sample string 6</ConsumerNo>
<DateWorked>2025-10-24T18:45:29.1954191-04:00</DateWorked>
<EmployeeNo>sample string 5</EmployeeNo>
<ExternalDocumentNo>0ef204f0-97d8-456b-ae06-9679c83c33f3</ExternalDocumentNo>
<LineNumber>10</LineNumber>
<PendMessage>sample string 15</PendMessage>
<PostingDate>2025-10-24T18:45:29.1954191-04:00</PostingDate>
<PricePerUnit>12</PricePerUnit>
<RejectionNote>sample string 16</RejectionNote>
<ServiceCode>sample string 13</ServiceCode>
<ServiceDescription>sample string 14</ServiceDescription>
<Status>8c9d30fe-795c-448a-a467-9180bd918a84</Status>
<TimesheetNo>sample string 9</TimesheetNo>
<TotalAmount>7</TotalAmount>
</TimesheetInvoiceItem>
</ArrayOfTimesheetInvoiceItem>