POST api/gis/MasterDataById

Request Information

URI Parameters

None.

Body Parameters

ReqMasterById
NameDescriptionTypeAdditional information
ApiUserName

string

None.

Token

string

None.

Procid

integer

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ApiUserName": "sample string 1",
  "Token": "sample string 2",
  "Procid": 3,
  "Id": 4
}

application/xml, text/xml

Sample:
<ReqMasterById xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ULBGIS.Models">
  <ApiUserName>sample string 1</ApiUserName>
  <Id>4</Id>
  <Procid>3</Procid>
  <Token>sample string 2</Token>
</ReqMasterById>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RespMaster
NameDescriptionTypeAdditional information
respCode

string

None.

respMessage

string

None.

Data

Collection of MasterData

None.

Response Formats

application/json, text/json

Sample:
{
  "respCode": "sample string 1",
  "respMessage": "sample string 2",
  "Data": [
    {
      "MasterId": 1,
      "MasterName": "sample string 2"
    },
    {
      "MasterId": 1,
      "MasterName": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<RespMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ULBGIS.Models">
  <Data>
    <MasterData>
      <MasterId>1</MasterId>
      <MasterName>sample string 2</MasterName>
    </MasterData>
    <MasterData>
      <MasterId>1</MasterId>
      <MasterName>sample string 2</MasterName>
    </MasterData>
  </Data>
  <respCode>sample string 1</respCode>
  <respMessage>sample string 2</respMessage>
</RespMaster>