POST api/Roll/Save

Request Information

URI Parameters

None.

Body Parameters

MRolls
NameDescriptionTypeAdditional information
roleId

integer

None.

roleName

string

None.

roleDesc

string

None.

status

string

None.

Msg

Messages

None.

Request Formats

application/json, text/json

Sample:
{
  "roleId": 1,
  "roleName": "sample string 2",
  "roleDesc": "sample string 3",
  "status": "sample string 4",
  "Msg": {
    "StatusCode": 1,
    "isWarning": true,
    "isError": true,
    "isSuccess": true,
    "isInfo": true,
    "Message": "sample string 6",
    "ErrorCode": 7
  }
}

application/xml, text/xml

Sample:
<MRolls xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASM_API.Models">
  <Msg>
    <ErrorCode>7</ErrorCode>
    <Message>sample string 6</Message>
    <StatusCode>1</StatusCode>
    <isError>true</isError>
    <isInfo>true</isInfo>
    <isSuccess>true</isSuccess>
    <isWarning>true</isWarning>
  </Msg>
  <roleDesc>sample string 3</roleDesc>
  <roleId>1</roleId>
  <roleName>sample string 2</roleName>
  <status>sample string 4</status>
</MRolls>

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.