POST api/Values/LocationTypeGetData

Request Information

URI Parameters

None.

Body Parameters

Location_Type_Master_Property
NameDescriptionTypeAdditional information
location_type_id

integer

None.

location_name

string

None.

active

integer

None.

sequence

integer

None.

user_id

integer

None.

entry_date

string

None.

entry_time

string

None.

ip_address

string

None.

remarks

string

None.

Request Formats

application/json, text/json

Sample:
{
  "location_type_id": 1,
  "location_name": "sample string 2",
  "active": 3,
  "sequence": 4,
  "user_id": 5,
  "entry_date": "sample string 6",
  "entry_time": "sample string 7",
  "ip_address": "sample string 8",
  "remarks": "sample string 9"
}

application/xml, text/xml

Sample:
<Location_Type_Master_Property xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.PropertyClasses.Master">
  <active>3</active>
  <entry_date>sample string 6</entry_date>
  <entry_time>sample string 7</entry_time>
  <ip_address>sample string 8</ip_address>
  <location_name>sample string 2</location_name>
  <location_type_id>1</location_type_id>
  <remarks>sample string 9</remarks>
  <sequence>4</sequence>
  <user_id>5</user_id>
</Location_Type_Master_Property>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Location_Type_Master_Response
NameDescriptionTypeAdditional information
success

boolean

None.

msg

string

None.

data

Collection of Location_Type_Master_Property

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "msg": "sample string 2",
  "data": [
    {
      "location_type_id": 1,
      "location_name": "sample string 2",
      "active": 3,
      "sequence": 4,
      "user_id": 5,
      "entry_date": "sample string 6",
      "entry_time": "sample string 7",
      "ip_address": "sample string 8",
      "remarks": "sample string 9"
    },
    {
      "location_type_id": 1,
      "location_name": "sample string 2",
      "active": 3,
      "sequence": 4,
      "user_id": 5,
      "entry_date": "sample string 6",
      "entry_time": "sample string 7",
      "ip_address": "sample string 8",
      "remarks": "sample string 9"
    }
  ]
}

application/xml, text/xml

Sample:
<Location_Type_Master_Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.FunctionClasses.Response">
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BLL.PropertyClasses.Master">
    <d2p1:Location_Type_Master_Property>
      <d2p1:active>3</d2p1:active>
      <d2p1:entry_date>sample string 6</d2p1:entry_date>
      <d2p1:entry_time>sample string 7</d2p1:entry_time>
      <d2p1:ip_address>sample string 8</d2p1:ip_address>
      <d2p1:location_name>sample string 2</d2p1:location_name>
      <d2p1:location_type_id>1</d2p1:location_type_id>
      <d2p1:remarks>sample string 9</d2p1:remarks>
      <d2p1:sequence>4</d2p1:sequence>
      <d2p1:user_id>5</d2p1:user_id>
    </d2p1:Location_Type_Master_Property>
    <d2p1:Location_Type_Master_Property>
      <d2p1:active>3</d2p1:active>
      <d2p1:entry_date>sample string 6</d2p1:entry_date>
      <d2p1:entry_time>sample string 7</d2p1:entry_time>
      <d2p1:ip_address>sample string 8</d2p1:ip_address>
      <d2p1:location_name>sample string 2</d2p1:location_name>
      <d2p1:location_type_id>1</d2p1:location_type_id>
      <d2p1:remarks>sample string 9</d2p1:remarks>
      <d2p1:sequence>4</d2p1:sequence>
      <d2p1:user_id>5</d2p1:user_id>
    </d2p1:Location_Type_Master_Property>
  </data>
  <msg>sample string 2</msg>
  <success>true</success>
</Location_Type_Master_Response>