POST api/CRM/UpdateCompanySalesPerson

Request Information

URI Parameters

None.

Body Parameters

UpdateCRMSalesPersonInput
NameDescriptionTypeAdditional information
CCP_LEAD_OWNR

integer

None.

CCP_NEW_LEAD_OWNR

integer

None.

CCP_CP_ID

integer

None.

CCP_CREATED_BY

integer

None.

CRM_COMPANY_DETAILS

Collection of CRM_COMPANY_DETAILS

None.

Request Formats

application/json, text/json

Sample:
{
  "CCP_LEAD_OWNR": 1,
  "CCP_NEW_LEAD_OWNR": 1,
  "CCP_CP_ID": 1,
  "CCP_CREATED_BY": 1,
  "CRM_COMPANY_DETAILS": [
    {
      "CCP_ID": 1,
      "CCP_COMP_NAME": "sample string 1"
    },
    {
      "CCP_ID": 1,
      "CCP_COMP_NAME": "sample string 1"
    }
  ]
}

application/xml, text/xml

Sample:
<UpdateCRMSalesPersonInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models">
  <CCP_CP_ID>1</CCP_CP_ID>
  <CCP_CREATED_BY>1</CCP_CREATED_BY>
  <CCP_LEAD_OWNR>1</CCP_LEAD_OWNR>
  <CCP_NEW_LEAD_OWNR>1</CCP_NEW_LEAD_OWNR>
  <CRM_COMPANY_DETAILS>
    <CRM_COMPANY_DETAILS>
      <CCP_COMP_NAME>sample string 1</CCP_COMP_NAME>
      <CCP_ID>1</CCP_ID>
    </CRM_COMPANY_DETAILS>
    <CRM_COMPANY_DETAILS>
      <CCP_COMP_NAME>sample string 1</CCP_COMP_NAME>
      <CCP_ID>1</CCP_ID>
    </CRM_COMPANY_DETAILS>
  </CRM_COMPANY_DETAILS>
</UpdateCRMSalesPersonInput>

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.