POST api/RepSync

Documentation for 'PostRepSync'.

Request Information

Parameters

NameDescriptionAdditional information
syncPackage
Documentation for 'syncPackage'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "repNumber": "sample string 1",
  "companyNumber": "sample string 2",
  "email": "sample string 3",
  "syncOption": 4
}

application/xml, text/xml

Sample:
<RepSyncPackage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CutcoFeed_VastAction.Code">
  <companyNumber>sample string 2</companyNumber>
  <email>sample string 3</email>
  <repNumber>sample string 1</repNumber>
  <syncOption>4</syncOption>
</RepSyncPackage>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'RepSyncPackage'.