POST api/Service
Request Information
URI Parameters
None.
Body Parameters
ServiceParmName | Description | Type | Additional information |
---|---|---|---|
auth | string |
None. |
|
ServiceID | integer |
None. |
|
ServiceCode | string |
None. |
|
ShowDeleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "auth": "sample string 1", "ServiceID": 1, "ServiceCode": "sample string 2", "ShowDeleted": true }
application/xml, text/xml
Sample:
<ServiceParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models"> <ServiceCode>sample string 2</ServiceCode> <ServiceID>1</ServiceID> <ShowDeleted>true</ShowDeleted> <auth>sample string 1</auth> </ServiceParm>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ServiceRespName | Description | Type | Additional information |
---|---|---|---|
IsSuccessful | boolean |
None. |
|
ErrorMessage | string |
None. |
|
Services | Collection of ServiceItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsSuccessful": true, "ErrorMessage": "sample string 2", "Services": [ { "ServiceID": 1, "CompanyID": 2, "ServiceCode": "sample string 3", "Name": "sample string 4", "Description": "sample string 5", "DeadlineCalc": "sample string 6", "DeadlineTime": "2024-12-28T09:12:00.9586824+00:00", "DeadlineDay": 1, "DeadlineDescription": "sample string 7", "TransportationMode": "sample string 8", "TransportationModeName": "sample string 9", "EffectiveDate": "2024-12-28T09:12:00.9586824+00:00", "InactiveDate": "2024-12-28T09:12:00.9586824+00:00", "LegacyServiceCode": "sample string 11", "GLAcctNumber": "sample string 12", "GLAcctNumberCost": "sample string 13", "WorkflowID": "sample string 14", "WorkflowName": "sample string 15", "InsertUserID": 16, "InsertDateTime": "2024-12-28T09:12:00.9586824+00:00", "DeletedUserID": 1, "DeletedDateTime": "2024-12-28T09:12:00.9586824+00:00", "CallbackRequired": true, "RequireCostPickup": true, "RequireCostDelivery": true, "RequireCostShipment": true, "RequireCostManifest": true, "DeadlineDueMinutes": 23, "ANSIServiceCode": "sample string 24", "DistanceUOM": "sample string 25", "ServiceCategoryGUID": "sample string 26", "IncludeInQuickQuote": true, "SendACAS": true, "ServiceNameAndCode": "sample string 29" }, { "ServiceID": 1, "CompanyID": 2, "ServiceCode": "sample string 3", "Name": "sample string 4", "Description": "sample string 5", "DeadlineCalc": "sample string 6", "DeadlineTime": "2024-12-28T09:12:00.9586824+00:00", "DeadlineDay": 1, "DeadlineDescription": "sample string 7", "TransportationMode": "sample string 8", "TransportationModeName": "sample string 9", "EffectiveDate": "2024-12-28T09:12:00.9586824+00:00", "InactiveDate": "2024-12-28T09:12:00.9586824+00:00", "LegacyServiceCode": "sample string 11", "GLAcctNumber": "sample string 12", "GLAcctNumberCost": "sample string 13", "WorkflowID": "sample string 14", "WorkflowName": "sample string 15", "InsertUserID": 16, "InsertDateTime": "2024-12-28T09:12:00.9586824+00:00", "DeletedUserID": 1, "DeletedDateTime": "2024-12-28T09:12:00.9586824+00:00", "CallbackRequired": true, "RequireCostPickup": true, "RequireCostDelivery": true, "RequireCostShipment": true, "RequireCostManifest": true, "DeadlineDueMinutes": 23, "ANSIServiceCode": "sample string 24", "DistanceUOM": "sample string 25", "ServiceCategoryGUID": "sample string 26", "IncludeInQuickQuote": true, "SendACAS": true, "ServiceNameAndCode": "sample string 29" } ] }
application/xml, text/xml
Sample:
<ServiceResp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models"> <ErrorMessage>sample string 2</ErrorMessage> <IsSuccessful>true</IsSuccessful> <Services> <ServiceItem> <ANSIServiceCode>sample string 24</ANSIServiceCode> <CallbackRequired>true</CallbackRequired> <CompanyID>2</CompanyID> <DeadlineCalc>sample string 6</DeadlineCalc> <DeadlineDay>1</DeadlineDay> <DeadlineDescription>sample string 7</DeadlineDescription> <DeadlineDueMinutes>23</DeadlineDueMinutes> <DeadlineTime>2024-12-28T09:12:00.9586824+00:00</DeadlineTime> <DeletedDateTime>2024-12-28T09:12:00.9586824+00:00</DeletedDateTime> <DeletedUserID>1</DeletedUserID> <Description>sample string 5</Description> <DistanceUOM>sample string 25</DistanceUOM> <EffectiveDate>2024-12-28T09:12:00.9586824+00:00</EffectiveDate> <GLAcctNumber>sample string 12</GLAcctNumber> <GLAcctNumberCost>sample string 13</GLAcctNumberCost> <InactiveDate>2024-12-28T09:12:00.9586824+00:00</InactiveDate> <IncludeInQuickQuote>true</IncludeInQuickQuote> <InsertDateTime>2024-12-28T09:12:00.9586824+00:00</InsertDateTime> <InsertUserID>16</InsertUserID> <LegacyServiceCode>sample string 11</LegacyServiceCode> <Name>sample string 4</Name> <RequireCostDelivery>true</RequireCostDelivery> <RequireCostManifest>true</RequireCostManifest> <RequireCostPickup>true</RequireCostPickup> <RequireCostShipment>true</RequireCostShipment> <SendACAS>true</SendACAS> <ServiceCategoryGUID>sample string 26</ServiceCategoryGUID> <ServiceCode>sample string 3</ServiceCode> <ServiceID>1</ServiceID> <ServiceNameAndCode>sample string 29</ServiceNameAndCode> <TransportationMode>sample string 8</TransportationMode> <TransportationModeName>sample string 9</TransportationModeName> <WorkflowID>sample string 14</WorkflowID> <WorkflowName>sample string 15</WorkflowName> </ServiceItem> <ServiceItem> <ANSIServiceCode>sample string 24</ANSIServiceCode> <CallbackRequired>true</CallbackRequired> <CompanyID>2</CompanyID> <DeadlineCalc>sample string 6</DeadlineCalc> <DeadlineDay>1</DeadlineDay> <DeadlineDescription>sample string 7</DeadlineDescription> <DeadlineDueMinutes>23</DeadlineDueMinutes> <DeadlineTime>2024-12-28T09:12:00.9586824+00:00</DeadlineTime> <DeletedDateTime>2024-12-28T09:12:00.9586824+00:00</DeletedDateTime> <DeletedUserID>1</DeletedUserID> <Description>sample string 5</Description> <DistanceUOM>sample string 25</DistanceUOM> <EffectiveDate>2024-12-28T09:12:00.9586824+00:00</EffectiveDate> <GLAcctNumber>sample string 12</GLAcctNumber> <GLAcctNumberCost>sample string 13</GLAcctNumberCost> <InactiveDate>2024-12-28T09:12:00.9586824+00:00</InactiveDate> <IncludeInQuickQuote>true</IncludeInQuickQuote> <InsertDateTime>2024-12-28T09:12:00.9586824+00:00</InsertDateTime> <InsertUserID>16</InsertUserID> <LegacyServiceCode>sample string 11</LegacyServiceCode> <Name>sample string 4</Name> <RequireCostDelivery>true</RequireCostDelivery> <RequireCostManifest>true</RequireCostManifest> <RequireCostPickup>true</RequireCostPickup> <RequireCostShipment>true</RequireCostShipment> <SendACAS>true</SendACAS> <ServiceCategoryGUID>sample string 26</ServiceCategoryGUID> <ServiceCode>sample string 3</ServiceCode> <ServiceID>1</ServiceID> <ServiceNameAndCode>sample string 29</ServiceNameAndCode> <TransportationMode>sample string 8</TransportationMode> <TransportationModeName>sample string 9</TransportationModeName> <WorkflowID>sample string 14</WorkflowID> <WorkflowName>sample string 15</WorkflowName> </ServiceItem> </Services> </ServiceResp>