POST api/User
Request Information
URI Parameters
None.
Body Parameters
UserViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| RoleID | globally unique identifier |
None. |
|
| string |
None. |
||
| ID | globally unique identifier |
None. |
|
| PendingInvitation | boolean |
None. |
|
| UserID | globally unique identifier |
None. |
|
| UserList | Collection of AssignRoleUserViewModel |
None. |
|
| AssignRoleList | Collection of AssignRoleViewModel |
None. |
|
| LastApplicationAccessed | globally unique identifier |
None. |
|
| LastCompanyVisited | integer |
None. |
|
| CompanyID | integer |
None. |
|
| Language | string |
None. |
|
| CreatedDate | date |
None. |
|
| CreatedUserID | globally unique identifier |
None. |
|
| ModifiedDate | date |
None. |
|
| ModifiedUserID | globally unique identifier |
None. |
|
| FeatureID | globally unique identifier |
None. |
|
| Token | globally unique identifier |
None. |
|
| Action | Actions |
None. |
|
| FilterText | string |
None. |
|
| CurrentIndex | integer |
None. |
|
| PageSize | integer |
None. |
|
| TotalRecords | integer |
None. |
|
| SortColumn | string |
None. |
|
| Sortby | SortDirection |
None. |
|
| ImageId | integer |
None. |
|
| IsDeleted | boolean |
None. |
|
| IsActive | boolean |
None. |
|
| Sort | integer |
None. |
|
| Messages | Collection of ErrorMessage |
None. |
Request Formats
application/json, text/json
Sample:
{
"RoleID": "9434820a-849d-40a9-9431-8b374c1c381e",
"Email": "sample string 2",
"ID": "e2539063-8d9e-475c-9f81-6f4ae6d3618e",
"PendingInvitation": true,
"UserID": "fc058f91-a9d5-422a-8ec1-ee44a1c869fd",
"UserList": [
{
"UserID": "c8e2ad4d-4b24-4467-96b6-1e3dbd7d2864",
"Email": "sample string 2"
},
{
"UserID": "c8e2ad4d-4b24-4467-96b6-1e3dbd7d2864",
"Email": "sample string 2"
}
],
"AssignRoleList": [
{
"RoleID": "293408b6-cd8f-4b25-87c6-e769a09d6397"
},
{
"RoleID": "293408b6-cd8f-4b25-87c6-e769a09d6397"
}
],
"LastApplicationAccessed": "5056e0fd-3d11-4591-a86f-73487d4568f8",
"LastCompanyVisited": 5,
"CompanyID": 6,
"Language": "sample string 7",
"CreatedDate": "2026-06-20T18:46:18.1158935+00:00",
"CreatedUserID": "48ebd434-1aa6-4289-931c-65c0eaa79de7",
"ModifiedDate": "2026-06-20T18:46:18.1158935+00:00",
"ModifiedUserID": "bbd7ecab-75dc-40d4-b658-78ccfe54b47c",
"FeatureID": "e222ba74-8cbb-49cd-bf64-582fe8a361e4",
"Token": "4d836924-ab83-4097-a1e4-efc77000cedd",
"Action": 0,
"FilterText": "sample string 14",
"CurrentIndex": 15,
"PageSize": 16,
"TotalRecords": 17,
"SortColumn": "sample string 18",
"Sortby": 0,
"ImageId": 1,
"IsDeleted": true,
"IsActive": true,
"Sort": 1,
"Messages": [
{
"ErrorType": 1,
"Message": "sample string 2"
},
{
"ErrorType": 1,
"Message": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<UserViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core.SecurityModels">
<Action xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">View</Action>
<CompanyID xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">6</CompanyID>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">2026-06-20T18:46:18.1158935+00:00</CreatedDate>
<CreatedUserID xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">48ebd434-1aa6-4289-931c-65c0eaa79de7</CreatedUserID>
<CurrentIndex xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">15</CurrentIndex>
<FeatureID xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">e222ba74-8cbb-49cd-bf64-582fe8a361e4</FeatureID>
<FilterText xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">sample string 14</FilterText>
<ImageId xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">1</ImageId>
<IsActive xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">true</IsActive>
<IsDeleted xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">true</IsDeleted>
<Language xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">sample string 7</Language>
<Messages xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">
<ErrorMessage>
<ErrorType>1</ErrorType>
<Message>sample string 2</Message>
</ErrorMessage>
<ErrorMessage>
<ErrorType>1</ErrorType>
<Message>sample string 2</Message>
</ErrorMessage>
</Messages>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">2026-06-20T18:46:18.1158935+00:00</ModifiedDate>
<ModifiedUserID xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">bbd7ecab-75dc-40d4-b658-78ccfe54b47c</ModifiedUserID>
<PageSize xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">16</PageSize>
<Sort xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">1</Sort>
<SortColumn xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">sample string 18</SortColumn>
<Sortby xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">Asc</Sortby>
<Token xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">4d836924-ab83-4097-a1e4-efc77000cedd</Token>
<TotalRecords xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">17</TotalRecords>
<AssignRoleList>
<AssignRoleViewModel>
<RoleID>293408b6-cd8f-4b25-87c6-e769a09d6397</RoleID>
</AssignRoleViewModel>
<AssignRoleViewModel>
<RoleID>293408b6-cd8f-4b25-87c6-e769a09d6397</RoleID>
</AssignRoleViewModel>
</AssignRoleList>
<Email>sample string 2</Email>
<ID>e2539063-8d9e-475c-9f81-6f4ae6d3618e</ID>
<LastApplicationAccessed>5056e0fd-3d11-4591-a86f-73487d4568f8</LastApplicationAccessed>
<LastCompanyVisited>5</LastCompanyVisited>
<PendingInvitation>true</PendingInvitation>
<RoleID>9434820a-849d-40a9-9431-8b374c1c381e</RoleID>
<UserID>fc058f91-a9d5-422a-8ec1-ee44a1c869fd</UserID>
<UserList>
<AssignRoleUserViewModel>
<Email>sample string 2</Email>
<UserID>c8e2ad4d-4b24-4467-96b6-1e3dbd7d2864</UserID>
</AssignRoleUserViewModel>
<AssignRoleUserViewModel>
<Email>sample string 2</Email>
<UserID>c8e2ad4d-4b24-4467-96b6-1e3dbd7d2864</UserID>
</AssignRoleUserViewModel>
</UserList>
</UserViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.