POST api/User
Request Information
URI Parameters
None.
Body Parameters
UserViewModelName | 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": "0eea90fb-7ec6-46bd-b325-b3b0228a0e2c", "Email": "sample string 2", "ID": "24267feb-0be8-4c6d-b220-f6ea5da7e7ed", "PendingInvitation": true, "UserID": "26cfb138-9e91-45d6-bf70-7588e4ebead5", "UserList": [ { "UserID": "8dab622b-c609-495f-a4c8-90b6bc6a8ee4", "Email": "sample string 2" }, { "UserID": "8dab622b-c609-495f-a4c8-90b6bc6a8ee4", "Email": "sample string 2" } ], "AssignRoleList": [ { "RoleID": "cec7c9ad-df3e-4d61-a695-22f50809d504" }, { "RoleID": "cec7c9ad-df3e-4d61-a695-22f50809d504" } ], "LastApplicationAccessed": "658d314d-62c4-4dbe-8bba-f7f68eb81d84", "LastCompanyVisited": 5, "CompanyID": 6, "Language": "sample string 7", "CreatedDate": "2025-08-28T23:32:43.9782941+00:00", "CreatedUserID": "68f53e92-24c6-4353-8b9d-baa70a8d97bb", "ModifiedDate": "2025-08-28T23:32:43.9782941+00:00", "ModifiedUserID": "b0a2a6de-024c-4c35-bd37-d5dba27f3177", "FeatureID": "19dff6e8-52e8-4350-8723-6a9936f0d879", "Token": "dfe7359f-1a9c-4969-98e2-1409e1802f8f", "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">2025-08-28T23:32:43.9782941+00:00</CreatedDate> <CreatedUserID xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">68f53e92-24c6-4353-8b9d-baa70a8d97bb</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">19dff6e8-52e8-4350-8723-6a9936f0d879</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">2025-08-28T23:32:43.9782941+00:00</ModifiedDate> <ModifiedUserID xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">b0a2a6de-024c-4c35-bd37-d5dba27f3177</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">dfe7359f-1a9c-4969-98e2-1409e1802f8f</Token> <TotalRecords xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">17</TotalRecords> <AssignRoleList> <AssignRoleViewModel> <RoleID>cec7c9ad-df3e-4d61-a695-22f50809d504</RoleID> </AssignRoleViewModel> <AssignRoleViewModel> <RoleID>cec7c9ad-df3e-4d61-a695-22f50809d504</RoleID> </AssignRoleViewModel> </AssignRoleList> <Email>sample string 2</Email> <ID>24267feb-0be8-4c6d-b220-f6ea5da7e7ed</ID> <LastApplicationAccessed>658d314d-62c4-4dbe-8bba-f7f68eb81d84</LastApplicationAccessed> <LastCompanyVisited>5</LastCompanyVisited> <PendingInvitation>true</PendingInvitation> <RoleID>0eea90fb-7ec6-46bd-b325-b3b0228a0e2c</RoleID> <UserID>26cfb138-9e91-45d6-bf70-7588e4ebead5</UserID> <UserList> <AssignRoleUserViewModel> <Email>sample string 2</Email> <UserID>8dab622b-c609-495f-a4c8-90b6bc6a8ee4</UserID> </AssignRoleUserViewModel> <AssignRoleUserViewModel> <Email>sample string 2</Email> <UserID>8dab622b-c609-495f-a4c8-90b6bc6a8ee4</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.