POST api/Share/SetRole?userId={userId}&ownerId={ownerId}&roleId={roleId}&notaccepted={notaccepted}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

string

Required

ownerId

string

Required

roleId

string

Required

notaccepted

integer

Required

Body Parameters

None.

Response Information

Resource Description

ServiceResponse
NameDescriptionTypeAdditional information
Code

integer

None.

Data

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Data": "sample string 2"
}

application/xml, text/xml

Sample:
<ServiceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/">
  <Code>1</Code>
  <Data>sample string 2</Data>
</ServiceResponse>