POST api/CRM/PutCRMSalesTarget

Request Information

URI Parameters

None.

Body Parameters

SalesTarget
NameDescriptionTypeAdditional information
CST_ID

integer

None.

CST_FROM_DATE

date

None.

CST_TO_DATE

date

None.

CST_EMP_ID

integer

None.

CST_USER_ID

integer

None.

CST_AMOUNT

decimal number

None.

CST_CUR_ID

integer

None.

CST_STATUS

string

None.

CST_CP_ID

integer

None.

CST_NOTES

string

None.

CST_CREATED_BY

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CST_ID": 1,
  "CST_FROM_DATE": "2024-05-19T18:03:56.3272234+05:30",
  "CST_TO_DATE": "2024-05-19T18:03:56.3272234+05:30",
  "CST_EMP_ID": 1,
  "CST_USER_ID": 1,
  "CST_AMOUNT": 1.1,
  "CST_CUR_ID": 1,
  "CST_STATUS": "sample string 1",
  "CST_CP_ID": 1,
  "CST_NOTES": "sample string 2",
  "CST_CREATED_BY": 1
}

application/xml, text/xml

Sample:
<SalesTarget xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models">
  <CST_AMOUNT>1.1</CST_AMOUNT>
  <CST_CP_ID>1</CST_CP_ID>
  <CST_CREATED_BY>1</CST_CREATED_BY>
  <CST_CUR_ID>1</CST_CUR_ID>
  <CST_EMP_ID>1</CST_EMP_ID>
  <CST_FROM_DATE>2024-05-19T18:03:56.3272234+05:30</CST_FROM_DATE>
  <CST_ID>1</CST_ID>
  <CST_NOTES>sample string 2</CST_NOTES>
  <CST_STATUS>sample string 1</CST_STATUS>
  <CST_TO_DATE>2024-05-19T18:03:56.3272234+05:30</CST_TO_DATE>
  <CST_USER_ID>1</CST_USER_ID>
</SalesTarget>

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.