POST api/OES/User/Create
Request Information
URI Parameters
None.
Body Parameters
OES_user_creation_dc| Name | Description | Type | Additional information |
|---|---|---|---|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| Gender | string |
None. |
|
| OrganizationId | integer |
None. |
|
| Nationality | string |
None. |
|
| Residing_country_code | string |
None. |
|
| UserGroupId | integer |
None. |
|
| UserName | string |
None. |
|
| RoleId | integer |
None. |
|
| ittfid | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"FirstName": "sample string 1",
"LastName": "sample string 2",
"Gender": "sample string 3",
"OrganizationId": 4,
"Nationality": "sample string 5",
"Residing_country_code": "sample string 6",
"UserGroupId": 7,
"UserName": "sample string 8",
"RoleId": 9,
"ittfid": 1
}
application/xml, text/xml
Sample:
<OES_user_creation_dc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplicationITTF1.Controllers"> <FirstName>sample string 1</FirstName> <Gender>sample string 3</Gender> <LastName>sample string 2</LastName> <Nationality>sample string 5</Nationality> <OrganizationId>4</OrganizationId> <Residing_country_code>sample string 6</Residing_country_code> <RoleId>9</RoleId> <UserGroupId>7</UserGroupId> <UserName>sample string 8</UserName> <ittfid>1</ittfid> </OES_user_creation_dc>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
oes_user_create_res_dc| Name | Description | Type | Additional information |
|---|---|---|---|
| response_code | integer |
None. |
|
| err_msg | string |
None. |
|
| user_id | integer |
None. |
|
| ittfid | integer |
None. |
|
| password | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"response_code": 1,
"err_msg": "sample string 2",
"user_id": 1,
"ittfid": 1,
"password": "sample string 3"
}
application/xml, text/xml
Sample:
<oes_user_create_res_dc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplicationITTF1.Controllers"> <err_msg>sample string 2</err_msg> <ittfid>1</ittfid> <password>sample string 3</password> <response_code>1</response_code> <user_id>1</user_id> </oes_user_create_res_dc>