POST api/User/AddClearance
Request Information
URI Parameters
None.
Body Parameters
ClearanceModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Userid | string |
None. |
|
Enabled | string |
None. |
|
CreatedDate | date |
None. |
|
UpdatedAt | date |
None. |
|
ClientKeys | Collection of integer |
None. |
|
ClientIds | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Userid": "sample string 2", "Enabled": "sample string 3", "CreatedDate": "2024-11-06T15:38:31.75168+00:00", "UpdatedAt": "2024-11-06T15:38:31.75168+00:00", "ClientKeys": [ 1, 2 ], "ClientIds": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<ClearanceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AvicollectSecurity.Logic.Models"> <ClientIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ClientIds> <ClientKeys xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </ClientKeys> <CreatedDate>2024-11-06T15:38:31.75168+00:00</CreatedDate> <Enabled>sample string 3</Enabled> <Id>1</Id> <UpdatedAt>2024-11-06T15:38:31.75168+00:00</UpdatedAt> <Userid>sample string 2</Userid> </ClearanceModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.