PUT api/clerk/shop/update/{shopId}
Provide true/false on update of a clerk, given a clerk model. Give clerk model in body. More information regarding language and userRights can be found in the documentation
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
shopId |
The shop the clerk is attached to |
integer |
Required |
Body Parameters
The clerk update model.
ClerkUpdateModelName | Description | Type | Additional information |
---|---|---|---|
ClerkId |
Clerk id |
string |
Required |
Language |
Clerk language |
string |
Required |
Terminal |
Terminal identifier |
string |
Range: inclusive between 0 and 2147483647 |
FirstName |
First name |
string |
Required String length: inclusive between 0 and 64 |
LastName |
Last name |
string |
Required String length: inclusive between 0 and 64 |
CreateSource | string |
String length: inclusive between 0 and 32 |
|
Active |
(Not)Active setting |
boolean |
None. |
UserName |
User name |
string |
String length: inclusive between 0 and 50 |
Password |
Password |
string |
String length: inclusive between 0 and 50 |
UserRights |
User rights |
integer |
Range: inclusive between 1 and 3 |
SupportParameter | integer |
Range: inclusive between 0 and 1 |
Request Formats
application/json, text/json
{ "ClerkId": "sample string 1", "Language": "sample string 2", "Terminal": "sample string 3", "FirstName": "sample string 4", "LastName": "sample string 5", "CreateSource": "sample string 6", "Active": true, "UserName": "sample string 8", "Password": "sample string 9", "UserRights": 10, "SupportParameter": 11 }
application/xml, text/xml
<ClerkUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PublicAPI.Models"> <Active>true</Active> <CreateSource>sample string 6</CreateSource> <FirstName>sample string 4</FirstName> <LastName>sample string 5</LastName> <Password>sample string 9</Password> <SupportParameter>11</SupportParameter> <UserName>sample string 8</UserName> <UserRights>10</UserRights> <ClerkId>sample string 1</ClerkId> <Language>sample string 2</Language> <Terminal>sample string 3</Terminal> </ClerkUpdateModel>
application/x-www-form-urlencoded
Response Information
Resource Description
True/false.
booleanResponse Formats
application/json, text/json
true
application/xml, text/xml
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>