POST api/UserAccount/Add
Request Information
URI Parameters
None.
Body Parameters
UserAccount| Name | Description | Type | Additional information |
|---|---|---|---|
| IdAccount | integer |
None. |
|
| IdAgreement | integer |
None. |
|
| Identificacion | string |
Required String length: inclusive between 11 and 11 |
|
| AccountLogin | string |
Matching regular expression pattern: ^[a-zA-Z0-9_]+$ String length: inclusive between 6 and 100 |
|
| AccountName | string |
Required |
|
| AccountLastName | string |
Required |
|
| AccountEmail | string |
Matching regular expression pattern: ^[a-zA-Z0-9_\.-]+@([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,6}$ |
|
| AccountPicture | Collection of byte |
None. |
|
| AccountPass | string |
Required Data type: Password String length: inclusive between 6 and 100 |
|
| ConfirmPassword | string |
Data type: Password |
|
| IdRol | string |
None. |
|
| AccountPassSalt | string |
None. |
|
| AccountCellPhone | string |
Matching regular expression pattern: ^\d{3}\d{3}\d{4}$ |
|
| AccountPhone | string |
Matching regular expression pattern: ^\d{3}\d{3}\d{4}$ |
|
| AccountEstatus | boolean |
None. |
|
| FechaNacimiento | date |
None. |
|
| Sexo | string |
None. |
|
| RNC | string |
None. |
|
| AccountCreateDate | date |
None. |
|
| AccountConfirmed | boolean |
None. |
|
| IDCliente | integer |
None. |
|
| IDPersona | integer |
None. |
|
| ClientIdentification | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdAccount": 1,
"IdAgreement": 2,
"Identificacion": "sample string 3",
"AccountLogin": "sample string 4",
"AccountName": "sample string 5",
"AccountLastName": "sample string 6",
"AccountEmail": "sample string 7",
"AccountPicture": "QEA=",
"AccountPass": "sample string 8",
"ConfirmPassword": "sample string 9",
"IdRol": "sample string 10",
"AccountPassSalt": "sample string 11",
"AccountCellPhone": "sample string 12",
"AccountPhone": "sample string 13",
"AccountEstatus": true,
"FechaNacimiento": "2025-12-11T09:31:09.3993786-08:00",
"Sexo": "sample string 16",
"RNC": "sample string 17",
"AccountCreateDate": "2025-12-11T09:31:09.3993786-08:00",
"AccountConfirmed": true,
"IDCliente": 20,
"IDPersona": 21,
"ClientIdentification": "sample string 22"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
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. |