Documentation
Workorder
Workorder
GET/supplier/v1/workorder Retrieve a workorder
Through this API a workorder can be retrieved to be executed.
{ "data": [ { "Id": "string", "QuotationNrPostNL": "string", "SupplierID": "string", "PostNLWorkOrderNr": "string", "WorkOrderSAPNr": "string", "WorkOrderSubject": "string", "WorkOrderDescription": "string", "WorkOrderPriority": "string", "PostNLWorkOrderDateCreate": "2021-02-01", "WorkOrderDateComplete": "2021-02-01", "PropertyId": "string", "PropertyAddressStreet": "string", "PropertyAddressNumber": "string", "PropertyAddressNumberAddition": "string", "PropertyAddressPostalCode6": "string", "PropertyAddressPostalCode4": "string", "PropertyAddressCity": "string", "PropertyAddressCountryCode": "NL", "Area": "string", "Asset": "string", "LocationOpenTime": "string", "LocationContactPostNL": "string", "LocationPhonePostNL": "string", "LocationMailPostNL": "string", "Attachment1": "string", "Attachment2": "string", "Attachment3": "string", "Attachment4": "string", "Attachment5": "string", "response": "string", "warningMessage": "string", "errorMessage": "string", "id": "string", "objectNameId": "string" } ] } |
POST/supplier/v1/workorder Provide a workorder confirmation
Through this API, confirmation of successful registering the workorder can be send by posting the unique reference of the supplier.
{ "SupplierID": "string", "PostNLWorkOrderNr": "string", "SupplierWorkOrderNr": "string" } |
All fields are required
{ "data": [ { "response": "string", "warningMessage": "string", "errorMessage": "string", "id": "string", "objectNameId": "string" } ] } |
POST/supplier/v1/workorder/date/planning Provide workorder planned date
Through this API the planned date of work to be executed can be sent. This API can be executed more than once to change the planned date.
{ "SupplierID": "string", "PostNLWorkOrderNr": "string", "PlannedDate": "2021-02-01" } |
All fields are required.
{ "data": [ { "response": "string", "warningMessage": "string", "errorMessage": "string", "id": "string", "objectNameId": "string" } ] } |
POST/supplier/v1/workorder/date/execution Provide workorder execution date
Through this API the confirmation of the date, the work has been executed van be sent.
However, as the execution date can be the before, the same or after the planned date, this API cannot be executed as there has not been a successful API 2.3 (planned date)
{ "SupplierID": "string", "PostNLWorkOrderNr": "string", "EndDate": "2021-02-01" } |
SupplierId, PostNLWorkOrderNr and EndDate are obligatory.
{ "data": [ { "response": "string", "warningMessage": "string", "errorMessage": "string", "id": "string", "objectNameId": "string" } ] } |
POST/supplier/v1/workorder/invoice Provide workorder invoice
Through this API the invoice will be posted via invoice lines. The following invoice items can be, but are not limited to, registered:
Dutch | English |
Uren (aantal) | Hours (amount) |
Loonkosten (kosten per uur) | Labour (cost per hour) |
Voorrijkosten | Call-out charges |
Materiaalkosten | Materials |
Onderaanemer toeslag | Subcontractor fee |
(* the total amount of the invoice will be automatically calculated, therefore adding the total amount is unnecessary)
If an additional attachment is needed see the functionality of API 2.4
{ "Line": [ { "SupplierID": "string", "PostNLWorkOrderNr": "string", "Quantity": 0, "Description": "string", "Price": 0, "Valuta": "EUR", "Unit": "pc", "CostSort": "string" } ] } |
SupplierID, PostNLWorkOrderNr, Quantity and Price are obligatory.'
{ "data": [ { "response": "string", "warningMessage": "string", "errorMessage": "string", "id": "string", "objectNameId": "string" } ] } |
GET/supplier/v1/workorder/closed Retrieve closed workorders
Through this API the workorders and close date can be retrieved.
SupplierID is obligatory
{ "Id": "string", "SupplierID": "string", "PostNLWorkOrderNr": "string", "CloseDate": "2021-02-01", "response": "string", "warningMessage": "string", "errorMessage": "string", "id": "string", "objectNameId": "string" } |