POST TCPV1/Administration/Lookups/ProductGroup/SaveProductService?Token={Token}&UserID={UserID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Token | string |
Required |
|
| UserID | integer |
Required |
Body Parameters
ProductServiceMapping| Name | Description | Type | Additional information |
|---|---|---|---|
| IsNewRecord | boolean |
None. |
|
| ProductID | integer |
None. |
|
| ServiceTypeID | integer |
None. |
|
| SharpBinTemplateID | integer |
None. |
|
| SharpBinCollectionDays | integer |
None. |
|
| UserID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"IsNewRecord": true,
"ProductID": 2,
"ServiceTypeID": 3,
"SharpBinTemplateID": 1,
"SharpBinCollectionDays": 1,
"UserID": 4
}
application/xml, text/xml
Sample:
<ProductServiceMapping xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities.SmartAPI"> <IsNewRecord>true</IsNewRecord> <ProductID>2</ProductID> <ServiceTypeID>3</ServiceTypeID> <SharpBinCollectionDays>1</SharpBinCollectionDays> <SharpBinTemplateID>1</SharpBinTemplateID> <UserID>4</UserID> </ProductServiceMapping>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |