GET api/Users/GetMenuAccessByUserId?userId={userId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

integer

Required

Body Parameters

None.

Response Information

Resource Description

RootObjectOfMenuAccess
NameDescriptionTypeAdditional information
Success

integer

None.

Message

string

None.

Value

string

None.

Result

MenuAccess

None.

NoOfRecords

integer

None.

Alert

string

None.

AlertType

string

None.

Action

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": 1,
  "Message": "sample string 2",
  "Value": "sample string 3",
  "Result": {
    "IsShipmentMenu": true,
    "IsInvoiceMenu": true,
    "IsCDAMenu": true,
    "IsContractedPriceEnable": true
  },
  "NoOfRecords": 4,
  "Alert": "sample string 5",
  "AlertType": "sample string 6",
  "Action": "sample string 7"
}

application/xml, text/xml

Sample:
<RootObjectOfMenuAccessAnoMCRry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UserManagementAPI.Models">
  <Action>sample string 7</Action>
  <Alert>sample string 5</Alert>
  <AlertType>sample string 6</AlertType>
  <Message>sample string 2</Message>
  <NoOfRecords>4</NoOfRecords>
  <Result>
    <IsCDAMenu>true</IsCDAMenu>
    <IsContractedPriceEnable>true</IsContractedPriceEnable>
    <IsInvoiceMenu>true</IsInvoiceMenu>
    <IsShipmentMenu>true</IsShipmentMenu>
  </Result>
  <Success>1</Success>
  <Value>sample string 3</Value>
</RootObjectOfMenuAccessAnoMCRry>