POST api/{programid}/Timesheets/NavisionInvoiceItems
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
programid | string |
Required |
Body Parameters
NavisionInvoiceParamsName | Description | Type | Additional information |
---|---|---|---|
ExternalDocumentNo | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "ExternalDocumentNo": "2986a0f9-79b6-4f32-8c46-9971ddaee18f" }
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>2986a0f9-79b6-4f32-8c46-9971ddaee18f</ExternalDocumentNo> </NavisionInvoiceParams>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of TimesheetInvoiceItemName | 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": "85532491-dde2-47b3-8a92-6259af6cac47", "Status": "1be838d4-dbd6-41e6-bf2a-b5948801a128", "PostingDate": "2025-07-03T12:34:31.0803061-04:00", "DateWorked": "2025-07-03T12:34:31.0803061-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": "85532491-dde2-47b3-8a92-6259af6cac47", "Status": "1be838d4-dbd6-41e6-bf2a-b5948801a128", "PostingDate": "2025-07-03T12:34:31.0803061-04:00", "DateWorked": "2025-07-03T12:34:31.0803061-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-07-03T12:34:31.0803061-04:00</DateWorked> <EmployeeNo>sample string 5</EmployeeNo> <ExternalDocumentNo>85532491-dde2-47b3-8a92-6259af6cac47</ExternalDocumentNo> <LineNumber>10</LineNumber> <PendMessage>sample string 15</PendMessage> <PostingDate>2025-07-03T12:34:31.0803061-04:00</PostingDate> <PricePerUnit>12</PricePerUnit> <RejectionNote>sample string 16</RejectionNote> <ServiceCode>sample string 13</ServiceCode> <ServiceDescription>sample string 14</ServiceDescription> <Status>1be838d4-dbd6-41e6-bf2a-b5948801a128</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-07-03T12:34:31.0803061-04:00</DateWorked> <EmployeeNo>sample string 5</EmployeeNo> <ExternalDocumentNo>85532491-dde2-47b3-8a92-6259af6cac47</ExternalDocumentNo> <LineNumber>10</LineNumber> <PendMessage>sample string 15</PendMessage> <PostingDate>2025-07-03T12:34:31.0803061-04:00</PostingDate> <PricePerUnit>12</PricePerUnit> <RejectionNote>sample string 16</RejectionNote> <ServiceCode>sample string 13</ServiceCode> <ServiceDescription>sample string 14</ServiceDescription> <Status>1be838d4-dbd6-41e6-bf2a-b5948801a128</Status> <TimesheetNo>sample string 9</TimesheetNo> <TotalAmount>7</TotalAmount> </TimesheetInvoiceItem> </ArrayOfTimesheetInvoiceItem>