POST services/api/v1/Save_UserRole

Request Information

URI Parameters

None.

Body Parameters

SaveRole_Master
NameDescriptionTypeAdditional information
Rolecollection

Collection of Role_Master

None.

Locationcollections

Collection of LocationId

None.

Request Formats

application/json, text/json

Sample:
{
  "Rolecollection": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "CompanyId": 3,
      "BranchId": 4,
      "LocationId": 5,
      "UserID": 6,
      "Company": "sample string 7",
      "Branch": "sample string 8",
      "Location": "sample string 9",
      "UserformId": 10,
      "ModuleId": 11,
      "FormName": "sample string 12",
      "FormId": 13,
      "UserdetailId": 14,
      "Selected": true
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "CompanyId": 3,
      "BranchId": 4,
      "LocationId": 5,
      "UserID": 6,
      "Company": "sample string 7",
      "Branch": "sample string 8",
      "Location": "sample string 9",
      "UserformId": 10,
      "ModuleId": 11,
      "FormName": "sample string 12",
      "FormId": 13,
      "UserdetailId": 14,
      "Selected": true
    }
  ],
  "Locationcollections": [
    {
      "LocationId": 1
    },
    {
      "LocationId": 1
    }
  ]
}

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.