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": "db01049c-29cb-43f7-ba7e-09f83e9305cb" }
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>db01049c-29cb-43f7-ba7e-09f83e9305cb</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": "0d88f05d-0641-4f1b-b451-8f5d2ebc2685", "Status": "6100bf54-f3d6-4c3e-8313-7a36109dbfc9", "PostingDate": "2025-08-15T22:59:56.710995-04:00", "DateWorked": "2025-08-15T22:59:56.710995-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": "0d88f05d-0641-4f1b-b451-8f5d2ebc2685", "Status": "6100bf54-f3d6-4c3e-8313-7a36109dbfc9", "PostingDate": "2025-08-15T22:59:56.710995-04:00", "DateWorked": "2025-08-15T22:59:56.710995-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-08-15T22:59:56.710995-04:00</DateWorked> <EmployeeNo>sample string 5</EmployeeNo> <ExternalDocumentNo>0d88f05d-0641-4f1b-b451-8f5d2ebc2685</ExternalDocumentNo> <LineNumber>10</LineNumber> <PendMessage>sample string 15</PendMessage> <PostingDate>2025-08-15T22:59:56.710995-04:00</PostingDate> <PricePerUnit>12</PricePerUnit> <RejectionNote>sample string 16</RejectionNote> <ServiceCode>sample string 13</ServiceCode> <ServiceDescription>sample string 14</ServiceDescription> <Status>6100bf54-f3d6-4c3e-8313-7a36109dbfc9</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-08-15T22:59:56.710995-04:00</DateWorked> <EmployeeNo>sample string 5</EmployeeNo> <ExternalDocumentNo>0d88f05d-0641-4f1b-b451-8f5d2ebc2685</ExternalDocumentNo> <LineNumber>10</LineNumber> <PendMessage>sample string 15</PendMessage> <PostingDate>2025-08-15T22:59:56.710995-04:00</PostingDate> <PricePerUnit>12</PricePerUnit> <RejectionNote>sample string 16</RejectionNote> <ServiceCode>sample string 13</ServiceCode> <ServiceDescription>sample string 14</ServiceDescription> <Status>6100bf54-f3d6-4c3e-8313-7a36109dbfc9</Status> <TimesheetNo>sample string 9</TimesheetNo> <TotalAmount>7</TotalAmount> </TimesheetInvoiceItem> </ArrayOfTimesheetInvoiceItem>