POST api/Customers
Request Information
URI Parameters
None.
Body Parameters
CustomerName | Description | Type | Additional information |
---|---|---|---|
EmailAddress | string |
None. |
|
MobileNumber | string |
None. |
|
CustomerName | string |
None. |
|
ID | integer |
None. |
|
Status | integer |
None. |
|
Gender | integer |
None. |
|
DateOfRegistration | date |
None. |
|
DateOfBirth | date |
None. |
|
Verified | integer |
None. |
|
preferred_language | string |
None. |
|
dateCreated | date |
None. |
|
dateUpdated | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "EmailAddress": "sample string 1", "MobileNumber": "sample string 2", "CustomerName": "sample string 3", "ID": 4, "Status": 5, "Gender": 1, "DateOfRegistration": "2025-04-19T15:30:54.8783661+03:00", "DateOfBirth": "2025-04-19T15:30:54.8783661+03:00", "Verified": 1, "preferred_language": "sample string 6", "dateCreated": "2025-04-19T15:30:54.8783661+03:00", "dateUpdated": "2025-04-19T15:30:54.8783661+03:00" }
application/xml, text/xml
Sample:
<Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BookingSystem.Models"> <CustomerName>sample string 3</CustomerName> <DateOfBirth>2025-04-19T15:30:54.8783661+03:00</DateOfBirth> <DateOfRegistration>2025-04-19T15:30:54.8783661+03:00</DateOfRegistration> <EmailAddress>sample string 1</EmailAddress> <Gender>1</Gender> <ID>4</ID> <MobileNumber>sample string 2</MobileNumber> <Status>5</Status> <Verified>1</Verified> <dateCreated>2025-04-19T15:30:54.8783661+03:00</dateCreated> <dateUpdated>2025-04-19T15:30:54.8783661+03:00</dateUpdated> <preferred_language>sample string 6</preferred_language> </Customer>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />