POST https://api.d-tools.com/SI/Publish/ServiceOrder
Publish a new service order to SI.
Request Information
URI Parameters
None.
Body Parameters
The Service Order.
NewServiceOrderName | Description | Type | Additional information |
---|---|---|---|
IntegrationId |
Id for the service order (Optional). The Id must be a valid Guid and can be used to retrieve service order. |
string |
None. |
Client |
Client name (Required) |
string |
None. |
ClientNumber |
Client number |
string |
None. |
Name |
Name (Required) |
string |
None. |
Start |
Start date required (Required) |
date |
None. |
End |
End date required (Required) |
date |
None. |
Description |
Description of the SO |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "IntegrationId": "sample string 1", "Client": "sample string 2", "ClientNumber": "sample string 3", "Name": "sample string 4", "Start": "2025-03-06T03:25:42.4052637+00:00", "StartTicks": 6, "End": "2025-03-06T03:25:42.4052637+00:00", "EndTicks": 8, "Description": "sample string 9" }
application/xml, text/xml
Sample:
<NewServiceOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTools.SICloudAPI.DataObjects"> <Client>sample string 2</Client> <ClientNumber>sample string 3</ClientNumber> <Description>sample string 9</Description> <End>2025-03-06T03:25:42.4052637+00:00</End> <EndTicks>8</EndTicks> <IntegrationId>sample string 1</IntegrationId> <Name>sample string 4</Name> <Start>2025-03-06T03:25:42.4052637+00:00</Start> <StartTicks>6</StartTicks> </NewServiceOrder>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
PublishResponseName | Description | Type | Additional information |
---|---|---|---|
MessageId |
Check the status of the transaction using this Message Id |
globally unique identifier |
None. |
Message |
Success Message |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "MessageId": "6cea1554-9b41-4c3f-b4a3-72c8208a460c", "Message": "sample string 2" }
application/xml, text/xml
Sample:
<PublishResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTools.SICloudAPI.DataObjects"> <Message>sample string 2</Message> <MessageId>6cea1554-9b41-4c3f-b4a3-72c8208a460c</MessageId> </PublishResponse>