Sales status

The 'Sales status' is a field on the job opportunity record. It is used to indicate the current state of the sales opportunity.

Note: There are main sales statuses

  1. Open
  2. Lost
  3. Promoted

Each of these codes has associated with is a set of 'Sales reason' descriptions.

Therefore a combined code that must be used when promoting a job or changing its status -
the salesreasonSalesStatus plus the salesreasonReasonId
e.g. 3-6

Example request:

http://<SERVER>/jsonAPI/salesreason.json?user=user&password=user&version=3.3

Example response:

{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 19,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"data": [
{
"salesreasonUuid": "CA7688308A724BA4A084A9E1445CC965",
"salesreasonTimestampModified": 1481736084,
"salesreasonRecordVersionNumber": 134,
"salesreasonReasonId": 2,
"salesreasonSalesStatus": 1,
"salesreasonReasonDescription": "Contacted"
},
{
"salesreasonUuid": "7272E0EE0A034E41913C0D9236D10F7B",
"salesreasonTimestampModified": 1510584687,
"salesreasonRecordVersionNumber": 0,
"salesreasonReasonId": 101,
"salesreasonSalesStatus": 2,
"salesreasonReasonDescription": "Price too high"
},
{
"salesreasonUuid": "B797D7F355814C3EAC6E5E5E95F1FF33",
"salesreasonTimestampModified": 1493306192,
"salesreasonRecordVersionNumber": 134,
"salesreasonReasonId": 6,
"salesreasonSalesStatus": 3,
"salesreasonReasonDescription": "In Progress"
}
]
}