POST api/application/users
Request Information
URI Parameters
None.
Body Parameters
UserFilterModel| Name | Description | Type | Additional information |
|---|---|---|---|
| application_role_type | ApplicationRoleType |
None. |
|
| department_id | integer |
None. |
|
| role_ids | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"application_role_type": 1,
"department_id": 1,
"role_ids": [
1,
2
]
}
text/html
Sample:
{"application_role_type":1,"department_id":1,"role_ids":[1,2]}
application/xml, text/xml
Sample:
<UserFilterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LSAtlas_WebAPI.Models">
<application_role_type>LawfirmUser</application_role_type>
<department_id>1</department_id>
<role_ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</role_ids>
</UserFilterModel>
multipart/form-data
Sample:
<UserFilterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LSAtlas_WebAPI.Models"><application_role_type>LawfirmUser</application_role_type><department_id>1</department_id><role_ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><d2p1:int>1</d2p1:int><d2p1:int>2</d2p1:int></role_ids></UserFilterModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |