POST api/CRM/SaveContactPerson

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
entity
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ClientId": 2,
  "EmpId": 3,
  "Direction": "sample string 4",
  "NameAR": "sample string 5",
  "NameEN": "sample string 6",
  "JobName": "sample string 7",
  "Address": "sample string 8",
  "Mobile": "sample string 9",
  "Phone": "sample string 10",
  "Email": "sample string 11",
  "LinkedInUrl": "sample string 12",
  "SubAccount": "sample string 13",
  "FirstName": "sample string 14",
  "LastName": "sample string 15",
  "Latitude": 1.0,
  "longitude": 1.0,
  "InCT": "sample string 16"
}

application/xml, text/xml

Sample:
<VM_ContactPerson xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERPPlus_MOdel">
  <Address>sample string 8</Address>
  <ClientId>2</ClientId>
  <Direction>sample string 4</Direction>
  <Email>sample string 11</Email>
  <EmpId>3</EmpId>
  <FirstName>sample string 14</FirstName>
  <Id>1</Id>
  <InCT>sample string 16</InCT>
  <JobName>sample string 7</JobName>
  <LastName>sample string 15</LastName>
  <Latitude>1</Latitude>
  <LinkedInUrl>sample string 12</LinkedInUrl>
  <Mobile>sample string 9</Mobile>
  <NameAR>sample string 5</NameAR>
  <NameEN>sample string 6</NameEN>
  <Phone>sample string 10</Phone>
  <SubAccount>sample string 13</SubAccount>
  <longitude>1</longitude>
</VM_ContactPerson>

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

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "Result": true,
  "ErrorMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<GeneralErrors xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERP_Plus">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result>true</Result>
</GeneralErrors>