POST api/lock/add
Request Information
URI Parameters
None.
Body Parameters
AddLockModelName | Description | Type | Additional information |
---|---|---|---|
LockNo | string |
None. |
|
SerialNo | string |
None. |
|
AppName | string |
None. |
|
Version | string |
None. |
|
SharedSubjects | Collection of globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "LockNo": "sample string 1", "SerialNo": "sample string 2", "AppName": "sample string 3", "Version": "sample string 4", "SharedSubjects": [ "5ddbacad-445d-4970-a91b-945b55219bad", "461c72e4-0ec5-43e3-9243-655ff3134ed5" ] }
application/xml, text/xml
Sample:
<AddLockModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shygun.Ticketing.FileHandler.Models"> <AppName>sample string 3</AppName> <LockNo>sample string 1</LockNo> <SerialNo>sample string 2</SerialNo> <SharedSubjects xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>5ddbacad-445d-4970-a91b-945b55219bad</d2p1:guid> <d2p1:guid>461c72e4-0ec5-43e3-9243-655ff3134ed5</d2p1:guid> </SharedSubjects> <Version>sample string 4</Version> </AddLockModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.