POST TCPV1/Administration/Lookups/ProductGroup/SaveProductService?Token={Token}&UserID={UserID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Token

string

Required

UserID

integer

Required

Body Parameters

ProductServiceMapping
NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.