POST api/Users
Request Information
URI Parameters
None.
Body Parameters
User| Name | Description | Type | Additional information |
|---|---|---|---|
| userId | globally unique identifier |
None. |
|
| username | string |
None. |
|
| password | string |
None. |
|
| string |
None. |
||
| phone | string |
None. |
|
| roleTypeId | integer |
None. |
|
| customerId | globally unique identifier |
None. |
|
| createdDate | date |
None. |
|
| pilotId | globally unique identifier |
None. |
|
| viewTasksFromAnyDateForPilot | boolean |
None. |
|
| Customer | Customer |
None. |
|
| Pilot | Pilot |
None. |
|
| RoleType | RoleType |
None. |
Request Formats
application/json, text/json
Sample:
{
"userId": "f2b1ddae-ceba-4a57-beed-61f8e1ec8dfa",
"username": "sample string 2",
"password": "sample string 3",
"email": "sample string 4",
"phone": "sample string 5",
"roleTypeId": 6,
"customerId": "225b39f8-2bac-405d-880c-c73947854d51",
"createdDate": "2026-03-20T18:46:00.3986894+00:00",
"pilotId": "22a9174e-e4c6-4587-afa6-e80407eaf2c2",
"viewTasksFromAnyDateForPilot": true,
"Customer": {
"customerId": "0099ea7a-a1c9-4163-a278-953fe973758c",
"name": "sample string 2",
"phone": "sample string 3",
"email": "sample string 4",
"dateCreated": "2026-03-20T18:46:00.3986894+00:00"
},
"Pilot": {
"pilotId": "08e8b9ca-4964-4ed1-8164-9d994ad7b694",
"name": "sample string 2",
"pilotTypeId": "d9521c18-84d9-4972-b8c1-8b9b49b2316f",
"phone": "sample string 4",
"isLicenseGimel": true,
"isLicenseRT": true,
"createdDate": "2026-03-20T18:46:00.3986894+00:00",
"PilotType": {
"pilotTypeId": "f088cdcd-afbe-4bf7-9e36-333c927de8d0",
"name": "sample string 2"
}
},
"RoleType": {
"roleTypeId": 1,
"name": "sample string 2",
"createdDate": "2026-03-20T18:46:00.3986894+00:00"
}
}
text/html
Sample:
{"userId":"f2b1ddae-ceba-4a57-beed-61f8e1ec8dfa","username":"sample string 2","password":"sample string 3","email":"sample string 4","phone":"sample string 5","roleTypeId":6,"customerId":"225b39f8-2bac-405d-880c-c73947854d51","createdDate":"2026-03-20T18:46:00.3986894+00:00","pilotId":"22a9174e-e4c6-4587-afa6-e80407eaf2c2","viewTasksFromAnyDateForPilot":true,"Customer":{"customerId":"0099ea7a-a1c9-4163-a278-953fe973758c","name":"sample string 2","phone":"sample string 3","email":"sample string 4","dateCreated":"2026-03-20T18:46:00.3986894+00:00"},"Pilot":{"pilotId":"08e8b9ca-4964-4ed1-8164-9d994ad7b694","name":"sample string 2","pilotTypeId":"d9521c18-84d9-4972-b8c1-8b9b49b2316f","phone":"sample string 4","isLicenseGimel":true,"isLicenseRT":true,"createdDate":"2026-03-20T18:46:00.3986894+00:00","PilotType":{"pilotTypeId":"f088cdcd-afbe-4bf7-9e36-333c927de8d0","name":"sample string 2"}},"RoleType":{"roleTypeId":1,"name":"sample string 2","createdDate":"2026-03-20T18:46:00.3986894+00:00"}}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
User| Name | Description | Type | Additional information |
|---|---|---|---|
| userId | globally unique identifier |
None. |
|
| username | string |
None. |
|
| password | string |
None. |
|
| string |
None. |
||
| phone | string |
None. |
|
| roleTypeId | integer |
None. |
|
| customerId | globally unique identifier |
None. |
|
| createdDate | date |
None. |
|
| pilotId | globally unique identifier |
None. |
|
| viewTasksFromAnyDateForPilot | boolean |
None. |
|
| Customer | Customer |
None. |
|
| Pilot | Pilot |
None. |
|
| RoleType | RoleType |
None. |
Response Formats
application/json, text/json
Sample:
{
"userId": "686626ef-fb92-4e05-bb06-781b963736b4",
"username": "sample string 2",
"password": "sample string 3",
"email": "sample string 4",
"phone": "sample string 5",
"roleTypeId": 6,
"customerId": "1a89be07-8ee7-4f88-9cc4-2051fe73630a",
"createdDate": "2026-03-20T18:46:00.3986894+00:00",
"pilotId": "2f7f60e4-fed4-4c89-b694-32acee53385f",
"viewTasksFromAnyDateForPilot": true,
"Customer": {
"customerId": "006d8085-0831-4484-88cd-35efd121e351",
"name": "sample string 2",
"phone": "sample string 3",
"email": "sample string 4",
"dateCreated": "2026-03-20T18:46:00.3986894+00:00"
},
"Pilot": {
"pilotId": "6c3990df-1892-4bda-a198-c5952e4778c9",
"name": "sample string 2",
"pilotTypeId": "b814b3e3-8fe4-4433-87b9-b5a8767b57cf",
"phone": "sample string 4",
"isLicenseGimel": true,
"isLicenseRT": true,
"createdDate": "2026-03-20T18:46:00.3986894+00:00",
"PilotType": {
"pilotTypeId": "bcc9ce63-0e15-49e5-8ba5-812bcbb989ea",
"name": "sample string 2"
}
},
"RoleType": {
"roleTypeId": 1,
"name": "sample string 2",
"createdDate": "2026-03-20T18:46:00.3986894+00:00"
}
}
text/html
Sample:
{"userId":"686626ef-fb92-4e05-bb06-781b963736b4","username":"sample string 2","password":"sample string 3","email":"sample string 4","phone":"sample string 5","roleTypeId":6,"customerId":"1a89be07-8ee7-4f88-9cc4-2051fe73630a","createdDate":"2026-03-20T18:46:00.3986894+00:00","pilotId":"2f7f60e4-fed4-4c89-b694-32acee53385f","viewTasksFromAnyDateForPilot":true,"Customer":{"customerId":"006d8085-0831-4484-88cd-35efd121e351","name":"sample string 2","phone":"sample string 3","email":"sample string 4","dateCreated":"2026-03-20T18:46:00.3986894+00:00"},"Pilot":{"pilotId":"6c3990df-1892-4bda-a198-c5952e4778c9","name":"sample string 2","pilotTypeId":"b814b3e3-8fe4-4433-87b9-b5a8767b57cf","phone":"sample string 4","isLicenseGimel":true,"isLicenseRT":true,"createdDate":"2026-03-20T18:46:00.3986894+00:00","PilotType":{"pilotTypeId":"bcc9ce63-0e15-49e5-8ba5-812bcbb989ea","name":"sample string 2"}},"RoleType":{"roleTypeId":1,"name":"sample string 2","createdDate":"2026-03-20T18:46:00.3986894+00:00"}}