POST api/accountmanager/target

Request Information

URI Parameters

None.

Body Parameters

AMUserTragetModel
NameDescriptionTypeAdditional information
UserId

integer

Required

FromDate

date

Required

ToDate

date

Required

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "FromDate": "2025-01-10T18:57:20.7786716+05:30",
  "ToDate": "2025-01-10T18:57:20.7786716+05:30"
}

application/xml, text/xml

Sample:
<AMUserTragetModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProbusCRMLSQWebEnggage.API.Models">
  <FromDate>2025-01-10T18:57:20.7786716+05:30</FromDate>
  <ToDate>2025-01-10T18:57:20.7786716+05:30</ToDate>
  <UserId>1</UserId>
</AMUserTragetModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CustomResponse
NameDescriptionTypeAdditional information
Error

string

None.

IsAuthenticated

boolean

None.

Message

string

None.

Response

Object

None.

StatusCode

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Error": "sample string 1",
  "IsAuthenticated": true,
  "Message": "sample string 3",
  "Response": {},
  "StatusCode": 5
}

application/xml, text/xml

Sample:
<CustomResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProbusCRMLSQWebEnggage.CommonUtilities.Model">
  <Error>sample string 1</Error>
  <IsAuthenticated>true</IsAuthenticated>
  <Message>sample string 3</Message>
  <Response />
  <StatusCode>5</StatusCode>
</CustomResponse>