GET api/sendit/services/{packageID}/{clientID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| packageID | integer |
Required |
|
| clientID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of PackageService| Name | Description | Type | Additional information |
|---|---|---|---|
| PackageServiceID | integer |
None. |
|
| CarrierCode | string |
None. |
|
| Description | string |
None. |
|
| InputType | string |
None. |
|
| InputValue | string |
None. |
|
| Options | Collection of PackageServiceOption |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"PackageServiceID": 1,
"CarrierCode": "sample string 2",
"Description": "sample string 3",
"InputType": "sample string 4",
"InputValue": "sample string 5",
"Options": [
{
"OptionID": 1,
"OptionName": "sample string 2",
"OptionValue": "sample string 3",
"SelectedValue": true,
"ForceSetting": true
},
{
"OptionID": 1,
"OptionName": "sample string 2",
"OptionValue": "sample string 3",
"SelectedValue": true,
"ForceSetting": true
}
]
},
{
"PackageServiceID": 1,
"CarrierCode": "sample string 2",
"Description": "sample string 3",
"InputType": "sample string 4",
"InputValue": "sample string 5",
"Options": [
{
"OptionID": 1,
"OptionName": "sample string 2",
"OptionValue": "sample string 3",
"SelectedValue": true,
"ForceSetting": true
},
{
"OptionID": 1,
"OptionName": "sample string 2",
"OptionValue": "sample string 3",
"SelectedValue": true,
"ForceSetting": true
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfPackageService xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Models.SendIt">
<PackageService>
<CarrierCode>sample string 2</CarrierCode>
<Description>sample string 3</Description>
<InputType>sample string 4</InputType>
<InputValue>sample string 5</InputValue>
<Options>
<PackageServiceOption>
<ForceSetting>true</ForceSetting>
<OptionID>1</OptionID>
<OptionName>sample string 2</OptionName>
<OptionValue>sample string 3</OptionValue>
<SelectedValue>true</SelectedValue>
</PackageServiceOption>
<PackageServiceOption>
<ForceSetting>true</ForceSetting>
<OptionID>1</OptionID>
<OptionName>sample string 2</OptionName>
<OptionValue>sample string 3</OptionValue>
<SelectedValue>true</SelectedValue>
</PackageServiceOption>
</Options>
<PackageServiceID>1</PackageServiceID>
</PackageService>
<PackageService>
<CarrierCode>sample string 2</CarrierCode>
<Description>sample string 3</Description>
<InputType>sample string 4</InputType>
<InputValue>sample string 5</InputValue>
<Options>
<PackageServiceOption>
<ForceSetting>true</ForceSetting>
<OptionID>1</OptionID>
<OptionName>sample string 2</OptionName>
<OptionValue>sample string 3</OptionValue>
<SelectedValue>true</SelectedValue>
</PackageServiceOption>
<PackageServiceOption>
<ForceSetting>true</ForceSetting>
<OptionID>1</OptionID>
<OptionName>sample string 2</OptionName>
<OptionValue>sample string 3</OptionValue>
<SelectedValue>true</SelectedValue>
</PackageServiceOption>
</Options>
<PackageServiceID>1</PackageServiceID>
</PackageService>
</ArrayOfPackageService>