All Verbs | /User/GetStorePrivilages/{Storeid} |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
StoreId | path | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
start | form | DateTime | No | |
DeviceUUID | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
UserPrivilage | form | StorePrivilagesDTO | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Result | form | bool | No | |
ResMessage | form | string | No | |
Error | form | Error | No | |
PageInfo | form | BasePageInfo | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ErrorYn | form | bool | No | |
ErrorCode | form | string | No | |
ErrorDescription | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TotalRecordCount | form | int | No | |
TotalPageCount | form | int | No | |
CurrentPage | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
StoreId | form | int | No | |
Privilages | form | string[] | No | |
IsChatAllowed | form | bool | No | |
IsTransAllowed | form | bool | No | |
ChatMessage | form | string | No | |
ChatWarning | form | string | No | |
TransMessage | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
UserPrivilage | form | StorePrivilagesDTO | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /User/GetStorePrivilages/{Storeid} HTTP/1.1
Host: baseservices2.needion.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
StoreId: 0,
start: 2021-01-21T13:36:00.3006768+03:00,
DeviceUUID: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { UserPrivilage: { StoreId: 0, Privilages: [ String ], IsChatAllowed: False, IsTransAllowed: False, ChatMessage: String, ChatWarning: String, TransMessage: String }, Result: False, ResMessage: String, Error: { ErrorYn: False, ErrorCode: String, ErrorDescription: String }, PageInfo: { TotalRecordCount: 0, TotalPageCount: 0, CurrentPage: 0 } }