POST Api/Post_AssignRole

Request Information

URI Parameters

None.

Body Parameters

Collection of ESPL_MODEL_ASSIGNROLE
NameDescriptionTypeAdditional information
UserId

string

None.

RoleCode

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "UserId": "sample string 1",
    "RoleCode": "sample string 2"
  },
  {
    "UserId": "sample string 1",
    "RoleCode": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfESPL_MODEL_ASSIGNROLE xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ESPL_ERP_API">
  <ESPL_MODEL_ASSIGNROLE>
    <RoleCode>sample string 2</RoleCode>
    <UserId>sample string 1</UserId>
  </ESPL_MODEL_ASSIGNROLE>
  <ESPL_MODEL_ASSIGNROLE>
    <RoleCode>sample string 2</RoleCode>
    <UserId>sample string 1</UserId>
  </ESPL_MODEL_ASSIGNROLE>
</ArrayOfESPL_MODEL_ASSIGNROLE>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.