POST api/v1/store/{storeID}/user
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
storeID | string |
Required |
Body Parameters
UserPermissionRequestName | Description | Type | Additional information |
---|---|---|---|
UserID | string |
None. |
|
UserLogin | string |
None. |
|
Grant | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserID": "sample string 1", "UserLogin": "sample string 2", "Grant": "sample string 3" }
application/xml, text/xml
Sample:
<UserPermissionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Request"> <Grant>sample string 3</Grant> <UserID>sample string 1</UserID> <UserLogin>sample string 2</UserLogin> </UserPermissionRequest>
application/x-www-form-urlencoded
Sample:
multipart/form-data
Sample:
image/png
Sample:
image/jpg
Sample:
image/jpeg
Sample:
image/bmp
Sample:
Response Information
Resource Description
StoreUserResponseName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
StoreID | string |
None. |
|
UserID | string |
None. |
|
SsoId | string |
None. |
|
Grant | string |
None. |
|
_meta | ResponseMeta |
None. |
Response Formats
application/json, text/json
Sample:
{ "ID": 1, "StoreID": "sample string 2", "UserID": "sample string 3", "SsoId": "sample string 4", "Grant": "sample string 5", "_meta": { "Messages": [ "sample string 1", "sample string 2" ], "ChangeType": "Created" } }
application/xml, text/xml
Sample:
<StoreUserResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Response"> <Grant>sample string 5</Grant> <ID>1</ID> <SsoId>sample string 4</SsoId> <StoreID>sample string 2</StoreID> <UserID>sample string 3</UserID> <_meta> <ChangeType>Created</ChangeType> <Messages xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </Messages> </_meta> </StoreUserResponse>
multipart/form-data
Sample:
image/png
Sample:
image/jpg
Sample:
image/jpeg
Sample:
image/bmp
Sample: