POST api/EverReady/CreateCustomer
Create customer method.
!!! Requires Authorization! !!!
Request Information
URI Parameters
None.
Body Parameters
The customer object.
CustomerViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Unique identifier of customer |
globally unique identifier |
None. |
| firstName |
Gets or sets the customer first name |
string |
None. |
| lastName |
Gets or sets the customer last name |
string |
None. |
|
Gets or sets the customer email |
string |
None. |
|
| phone |
Gets or sets the customer phone |
string |
None. |
| mobilePhone |
Gets or sets the customer mobile phone |
string |
None. |
| title |
Gets or sets the customer title |
string |
None. |
| ownerId |
Gets or sets the user owning the customer if any |
globally unique identifier |
None. |
| countryRef |
Gets or sets the customer country reference |
string |
None. |
| companyId |
Gets or sets company identificator (GUID) |
string |
None. |
| createdDate |
Gets or sets created date of the customer |
date |
None. |
| lastModifiedDate |
Gets or sets last modified date of the customer |
date |
None. |
| deletedDate |
Gets or sets deleted date of the customer |
date |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "1e748af7-edc1-43ba-a54f-a11ea6ddff6d",
"firstName": "sample string 2",
"lastName": "sample string 3",
"email": "sample string 4",
"phone": "sample string 5",
"mobilePhone": "sample string 6",
"title": "sample string 7",
"ownerId": "d286a396-d94d-4f9b-961f-b22d53e213b6",
"countryRef": "sample string 9",
"companyId": "sample string 10",
"createdDate": "2026-01-09T22:05:53.6060256+00:00",
"lastModifiedDate": "2026-01-09T22:05:53.6060256+00:00",
"deletedDate": "2026-01-09T22:05:53.6060256+00:00"
}
application/xml, text/xml
Sample:
<CustomerViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TalentDesk.WebApi.Models.EverReady"> <companyId>sample string 10</companyId> <countryRef>sample string 9</countryRef> <createdDate>2026-01-09T22:05:53.6060256+00:00</createdDate> <deletedDate>2026-01-09T22:05:53.6060256+00:00</deletedDate> <email>sample string 4</email> <firstName>sample string 2</firstName> <id>1e748af7-edc1-43ba-a54f-a11ea6ddff6d</id> <lastModifiedDate>2026-01-09T22:05:53.6060256+00:00</lastModifiedDate> <lastName>sample string 3</lastName> <mobilePhone>sample string 6</mobilePhone> <ownerId>d286a396-d94d-4f9b-961f-b22d53e213b6</ownerId> <phone>sample string 5</phone> <title>sample string 7</title> </CustomerViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage.
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |