POST api/commerce/admin/operation-grants

Request Information

URI Parameters

None.

Body Parameters

CommerceOperationGrantUpdateDTO
NameDescriptionTypeAdditional information
MemberID

globally unique identifier

None.

PermissionCode

string

None.

IsEnabled

boolean

None.

Reason

string

None.

OperatorMemberID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "MemberID": "fbd83b9b-657f-4ff7-a812-a677d9c46642",
  "PermissionCode": "sample string 2",
  "IsEnabled": true,
  "Reason": "sample string 4",
  "OperatorMemberID": "56fd7d1d-77d4-48a1-8de3-abc742eda59d"
}

application/xml, text/xml

Sample:
<CommerceOperationGrantUpdateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AIProject.API.Models.DTO">
  <IsEnabled>true</IsEnabled>
  <MemberID>fbd83b9b-657f-4ff7-a812-a677d9c46642</MemberID>
  <OperatorMemberID>56fd7d1d-77d4-48a1-8de3-abc742eda59d</OperatorMemberID>
  <PermissionCode>sample string 2</PermissionCode>
  <Reason>sample string 4</Reason>
</CommerceOperationGrantUpdateDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.