POST api/CustomerCertificate/AddAgent

Request Information

URI Parameters

None.

Body Parameters

TaskYamContracts.DTO.AddAgentRequest
NameDescriptionTypeAdditional information
CompanyNum

string

Required

IP

string

Required

TypeID

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "CompanyNum": "sample string 1",
  "IP": "sample string 2",
  "TypeID": 3
}

application/xml, text/xml

Sample:
<AddAgentRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <CompanyNum>sample string 1</CompanyNum>
  <IP>sample string 2</IP>
  <TypeID>3</TypeID>
</AddAgentRequest>

application/x-www-form-urlencoded

Sample:

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

Response Information

Resource Description

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.