POST api/Merchant/AddLock

Request Information

URI Parameters

None.

Body Parameters

SoftwareLockModel
NameDescriptionTypeAdditional information
ID

integer

None.

IDServer

integer

None.

IDPerson

integer

None.

IDSoftwarePlatform

integer

None.

IDCreator

integer

None.

IDLockState

byte

None.

IDLockType

byte

None.

UniqueID

globally unique identifier

None.

SpecialName

string

None.

SystemInfo

string

None.

ActivationCode

string

None.

ActivationDate

date

None.

ExpirationDate

date

None.

LastLoginDate

date

None.

FeatureNames

string

None.

Comment

string

None.

SystemName

string

None.

PhisycalAddress

string

None.

LinkLocalIP

string

None.

ExternalIP

string

None.

ActivationCount

byte

None.

IsTrial

boolean

None.

CreationDate

date

None.

Features

Collection of byte

None.

FeatureList

Collection of integer

None.

SoftwareName

string

None.

PlatformName

string

None.

JoinDate

date

None.

PersonEmail

string

None.

PersonNickName

string

None.

PersonPostalCode

string

None.

PersonMobile

string

None.

PersonTel

string

None.

PersonFax

string

None.

PersonAddress

string

None.

PersonFirstName

string

None.

PersonLastName

string

None.

PersonWebsite

string

None.

LockStateName

string

None.

LockTypeName

string

None.

ServerSpecialName

string

None.

ServerUniqueID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "IDServer": 1,
  "IDPerson": 2,
  "IDSoftwarePlatform": 3,
  "IDCreator": 4,
  "IDLockState": 64,
  "IDLockType": 64,
  "UniqueID": "516c4b99-d3b6-4338-bb29-f6ffa59cbc6c",
  "SpecialName": "sample string 8",
  "SystemInfo": "sample string 9",
  "ActivationCode": "sample string 10",
  "ActivationDate": "2025-08-21 10:38:09",
  "ExpirationDate": "2025-08-21 10:38:09",
  "LastLoginDate": "2025-08-21 10:38:09",
  "FeatureNames": "sample string 11",
  "Comment": "sample string 12",
  "SystemName": "sample string 13",
  "PhisycalAddress": "sample string 14",
  "LinkLocalIP": "sample string 15",
  "ExternalIP": "sample string 16",
  "ActivationCount": 64,
  "IsTrial": true,
  "CreationDate": "2025-08-21 10:38:09",
  "Features": "QEA=",
  "FeatureList": [
    1,
    2
  ],
  "SoftwareName": "sample string 20",
  "PlatformName": "sample string 21",
  "JoinDate": "2025-08-21 10:38:09",
  "PersonEmail": "sample string 23",
  "PersonNickName": "sample string 24",
  "PersonPostalCode": "sample string 25",
  "PersonMobile": "sample string 26",
  "PersonTel": "sample string 27",
  "PersonFax": "sample string 28",
  "PersonAddress": "sample string 29",
  "PersonFirstName": "sample string 30",
  "PersonLastName": "sample string 31",
  "PersonWebsite": "sample string 32",
  "LockStateName": "sample string 33",
  "LockTypeName": "sample string 34",
  "ServerSpecialName": "sample string 35",
  "ServerUniqueID": "f370bdc3-be25-498c-a8cb-c1916c235244"
}

text/xml

Sample:
<SoftwareLockModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PanaWebService.MyModel">
  <ActivationCode>sample string 10</ActivationCode>
  <ActivationCount>64</ActivationCount>
  <ActivationDate>2025-08-21T10:38:09.7344131+03:30</ActivationDate>
  <Comment>sample string 12</Comment>
  <CreationDate>2025-08-21T10:38:09.7344131+03:30</CreationDate>
  <ExpirationDate>2025-08-21T10:38:09.7344131+03:30</ExpirationDate>
  <ExternalIP>sample string 16</ExternalIP>
  <FeatureList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </FeatureList>
  <FeatureNames>sample string 11</FeatureNames>
  <Features>QEA=</Features>
  <ID>1</ID>
  <IDCreator>4</IDCreator>
  <IDLockState>64</IDLockState>
  <IDLockType>64</IDLockType>
  <IDPerson>2</IDPerson>
  <IDServer>1</IDServer>
  <IDSoftwarePlatform>3</IDSoftwarePlatform>
  <IsTrial>true</IsTrial>
  <JoinDate>2025-08-21T10:38:09.7344131+03:30</JoinDate>
  <LastLoginDate>2025-08-21T10:38:09.7344131+03:30</LastLoginDate>
  <LinkLocalIP>sample string 15</LinkLocalIP>
  <LockStateName>sample string 33</LockStateName>
  <LockTypeName>sample string 34</LockTypeName>
  <PersonAddress>sample string 29</PersonAddress>
  <PersonEmail>sample string 23</PersonEmail>
  <PersonFax>sample string 28</PersonFax>
  <PersonFirstName>sample string 30</PersonFirstName>
  <PersonLastName>sample string 31</PersonLastName>
  <PersonMobile>sample string 26</PersonMobile>
  <PersonNickName>sample string 24</PersonNickName>
  <PersonPostalCode>sample string 25</PersonPostalCode>
  <PersonTel>sample string 27</PersonTel>
  <PersonWebsite>sample string 32</PersonWebsite>
  <PhisycalAddress>sample string 14</PhisycalAddress>
  <PlatformName>sample string 21</PlatformName>
  <ServerSpecialName>sample string 35</ServerSpecialName>
  <ServerUniqueID>f370bdc3-be25-498c-a8cb-c1916c235244</ServerUniqueID>
  <SoftwareName>sample string 20</SoftwareName>
  <SpecialName>sample string 8</SpecialName>
  <SystemInfo>sample string 9</SystemInfo>
  <SystemName>sample string 13</SystemName>
  <UniqueID>516c4b99-d3b6-4338-bb29-f6ffa59cbc6c</UniqueID>
</SoftwareLockModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>