POST api/Login/SetClient
Request Information
URI Parameters
None.
Body Parameters
RequestSetClient| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
Required Matching regular expression pattern: ^[a-z A-ZáÁéÉíÍóÓúÚÑñ]+$ String length: inclusive between 0 and 50 |
|
| LastName | string |
Required Matching regular expression pattern: ^[a-z A-ZáÁéÉíÍóÓúÚÑñ]+$ String length: inclusive between 0 and 50 |
|
| DocumentType | integer |
Required Range: inclusive between 0 and 99 |
|
| DocumentID | string |
Required String length: inclusive between 0 and 10 |
|
| string |
Required |
||
| Cellphone | string |
Required Matching regular expression pattern: ^(\d{10})$ |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"LastName": "sample string 2",
"DocumentType": 3,
"DocumentID": "sample string 4",
"Email": "sample string 5",
"Cellphone": "sample string 6"
}
application/xml, text/xml
Sample:
<RequestSetClient xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ECD.WebAPIECD.Models.AppMovil"> <Cellphone>sample string 6</Cellphone> <DocumentID>sample string 4</DocumentID> <DocumentType>3</DocumentType> <Email>sample string 5</Email> <LastName>sample string 2</LastName> <Name>sample string 1</Name> </RequestSetClient>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.