POST Users
Request Information
URI Parameters
None.
Body Parameters
UserToCreateName | Description | Type | Additional information |
---|---|---|---|
OrganizationId | integer |
Required |
|
Name | string |
Required String length: inclusive between 0 and 20 |
|
Role | Role |
Required |
|
Password | string |
Required String length: inclusive between 0 and 50 |
|
FirstName | string |
Required String length: inclusive between 0 and 50 |
|
LastName | string |
Required String length: inclusive between 0 and 50 |
|
string |
Required Matching regular expression pattern: ^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*(\.[a-zA-Z]{2,4})$ String length: inclusive between 0 and 256 |
||
PhoneNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "OrganizationId": 1, "Name": "sample string 2", "Role": "None", "Password": "sample string 3", "FirstName": "sample string 4", "LastName": "sample string 5", "Email": "sample string 6", "PhoneNumber": "sample string 7" }
application/xml, text/xml
Sample:
<User xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <FirstName>sample string 4</FirstName> <LastName>sample string 5</LastName> <Email>sample string 6</Email> <PhoneNumber>sample string 7</PhoneNumber> <OrganizationId>1</OrganizationId> <Name>sample string 2</Name> <Role>None</Role> <Password>sample string 3</Password> </User>
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int>1</int>