POST api/employees/tks/assign

Request Information

URI Parameters

None.

Body Parameters

AccountSpecialistAgentModel
NameDescriptionTypeAdditional information
id

integer

None.

enabled

boolean

None.

created

date

None.

agentId

integer

None.

employeeId

integer

None.

accountSpecialistId

integer

None.

cancelDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "enabled": true,
  "created": "2024-04-19T13:45:39.8870177+00:00",
  "agentId": 2,
  "employeeId": 3,
  "accountSpecialistId": 1,
  "cancelDate": "2024-04-19T13:45:39.8870177+00:00"
}

text/html

Sample:
{"id":1,"enabled":true,"created":"2024-04-19T13:45:39.8870177+00:00","agentId":2,"employeeId":3,"accountSpecialistId":1,"cancelDate":"2024-04-19T13:45:39.8870177+00:00"}

application/xml, text/xml

Sample:
<AccountSpecialistAgentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Services">
  <AccountSpecialist_Id>1</AccountSpecialist_Id>
  <Agent_Id>2</Agent_Id>
  <CancelDate>2024-04-19T13:45:39.8870177+00:00</CancelDate>
  <Created>2024-04-19T13:45:39.8870177+00:00</Created>
  <EmployeeId>3</EmployeeId>
  <Enabled>true</Enabled>
  <Id>1</Id>
</AccountSpecialistAgentModel>

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 'AccountSpecialistAgentModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.