POST api/Clients
Creates a new client.
Request Information
URI Parameters
None.
Body Parameters
The client object containing the new client data.
ClientName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Passaport | string |
None. |
|
FullName | string |
None. |
|
string |
None. |
||
Contact | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Passaport": "sample string 2", "FullName": "sample string 3", "Email": "sample string 4", "Contact": "sample string 5" }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
The created client or an error response if a duplicate passport exists or other errors occur.
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.