GET Branch/GetByIdList?p_sCityId={p_sCityId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
p_sCityId

string

Required

Body Parameters

None.

Response Information

Resource Description

ResultOfListOfBRANCH
NameDescriptionTypeAdditional information
m_cData

Collection of BRANCH

None.

m_cDetail

ProcessResult

None.

Response Formats

application/json, text/json

Sample:
{
  "m_cData": [
    {
      "BRANCH_ID": 1,
      "CITY": {
        "CITY_ID": 1,
        "CITY_TEXT": "sample string 2"
      },
      "BRANCH_NAME": "sample string 2",
      "ADDRESS": "sample string 3",
      "TELEPHONE": "sample string 4",
      "EMAIL": "sample string 5",
      "INSTAGRAM": "sample string 6",
      "FACEBOOK": "sample string 7",
      "TWITTER": "sample string 8",
      "X": 9.1,
      "Y": 10.1,
      "WEEKDAYS": "sample string 11",
      "WEEKEND": "sample string 12",
      "MAP_TEXT": "sample string 13",
      "INFO": "sample string 14",
      "MESSAGE": "sample string 15",
      "ACTIVE": true
    },
    {
      "BRANCH_ID": 1,
      "CITY": {
        "CITY_ID": 1,
        "CITY_TEXT": "sample string 2"
      },
      "BRANCH_NAME": "sample string 2",
      "ADDRESS": "sample string 3",
      "TELEPHONE": "sample string 4",
      "EMAIL": "sample string 5",
      "INSTAGRAM": "sample string 6",
      "FACEBOOK": "sample string 7",
      "TWITTER": "sample string 8",
      "X": 9.1,
      "Y": 10.1,
      "WEEKDAYS": "sample string 11",
      "WEEKEND": "sample string 12",
      "MAP_TEXT": "sample string 13",
      "INFO": "sample string 14",
      "MESSAGE": "sample string 15",
      "ACTIVE": true
    }
  ],
  "m_cDetail": {
    "m_eProcessState": 0,
    "m_sClass": "sample string 1",
    "m_sMethod": "sample string 2",
    "m_iLastId": 3,
    "m_cDataTable": null,
    "m_lUserMessageList": [
      "sample string 1",
      "sample string 2"
    ],
    "m_sErrorMessage": "sample string 4",
    "m_cException": {
      "ClassName": "System.Exception",
      "Message": null,
      "Data": null,
      "InnerException": null,
      "HelpURL": "sample string 1",
      "StackTraceString": null,
      "RemoteStackTraceString": null,
      "RemoteStackIndex": 0,
      "ExceptionMethod": null,
      "HResult": 3,
      "Source": "sample string 2",
      "WatsonBuckets": null
    }
  }
}

text/html

Sample:
{"m_cData":[{"BRANCH_ID":1,"CITY":{"CITY_ID":1,"CITY_TEXT":"sample string 2"},"BRANCH_NAME":"sample string 2","ADDRESS":"sample string 3","TELEPHONE":"sample string 4","EMAIL":"sample string 5","INSTAGRAM":"sample string 6","FACEBOOK":"sample string 7","TWITTER":"sample string 8","X":9.1,"Y":10.1,"WEEKDAYS":"sample string 11","WEEKEND":"sample string 12","MAP_TEXT":"sample string 13","INFO":"sample string 14","MESSAGE":"sample string 15","ACTIVE":true},{"BRANCH_ID":1,"CITY":{"CITY_ID":1,"CITY_TEXT":"sample string 2"},"BRANCH_NAME":"sample string 2","ADDRESS":"sample string 3","TELEPHONE":"sample string 4","EMAIL":"sample string 5","INSTAGRAM":"sample string 6","FACEBOOK":"sample string 7","TWITTER":"sample string 8","X":9.1,"Y":10.1,"WEEKDAYS":"sample string 11","WEEKEND":"sample string 12","MAP_TEXT":"sample string 13","INFO":"sample string 14","MESSAGE":"sample string 15","ACTIVE":true}],"m_cDetail":{"m_eProcessState":0,"m_sClass":"sample string 1","m_sMethod":"sample string 2","m_iLastId":3,"m_cDataTable":null,"m_lUserMessageList":["sample string 1","sample string 2"],"m_sErrorMessage":"sample string 4","m_cException":{"ClassName":"System.Exception","Message":null,"Data":null,"InnerException":null,"HelpURL":"sample string 1","StackTraceString":null,"RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":3,"Source":"sample string 2","WatsonBuckets":null}}}

application/xml, text/xml

Sample:
<ResultOfArrayOfBRANCHQMrHQ08a xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/bnfOBJ">
  <m_cData xmlns:d2p1="http://schemas.datacontract.org/2004/07/bnfBLL.SYSTEM">
    <d2p1:BRANCH>
      <d2p1:ACTIVE>true</d2p1:ACTIVE>
      <d2p1:ADDRESS>sample string 3</d2p1:ADDRESS>
      <d2p1:BRANCH_ID>1</d2p1:BRANCH_ID>
      <d2p1:BRANCH_NAME>sample string 2</d2p1:BRANCH_NAME>
      <d2p1:CITY>
        <d2p1:CITY_ID>1</d2p1:CITY_ID>
        <d2p1:CITY_TEXT>sample string 2</d2p1:CITY_TEXT>
      </d2p1:CITY>
      <d2p1:EMAIL>sample string 5</d2p1:EMAIL>
      <d2p1:FACEBOOK>sample string 7</d2p1:FACEBOOK>
      <d2p1:INFO>sample string 14</d2p1:INFO>
      <d2p1:INSTAGRAM>sample string 6</d2p1:INSTAGRAM>
      <d2p1:MAP_TEXT>sample string 13</d2p1:MAP_TEXT>
      <d2p1:MESSAGE>sample string 15</d2p1:MESSAGE>
      <d2p1:TELEPHONE>sample string 4</d2p1:TELEPHONE>
      <d2p1:TWITTER>sample string 8</d2p1:TWITTER>
      <d2p1:WEEKDAYS>sample string 11</d2p1:WEEKDAYS>
      <d2p1:WEEKEND>sample string 12</d2p1:WEEKEND>
      <d2p1:X>9.1</d2p1:X>
      <d2p1:Y>10.1</d2p1:Y>
    </d2p1:BRANCH>
    <d2p1:BRANCH>
      <d2p1:ACTIVE>true</d2p1:ACTIVE>
      <d2p1:ADDRESS>sample string 3</d2p1:ADDRESS>
      <d2p1:BRANCH_ID>1</d2p1:BRANCH_ID>
      <d2p1:BRANCH_NAME>sample string 2</d2p1:BRANCH_NAME>
      <d2p1:CITY>
        <d2p1:CITY_ID>1</d2p1:CITY_ID>
        <d2p1:CITY_TEXT>sample string 2</d2p1:CITY_TEXT>
      </d2p1:CITY>
      <d2p1:EMAIL>sample string 5</d2p1:EMAIL>
      <d2p1:FACEBOOK>sample string 7</d2p1:FACEBOOK>
      <d2p1:INFO>sample string 14</d2p1:INFO>
      <d2p1:INSTAGRAM>sample string 6</d2p1:INSTAGRAM>
      <d2p1:MAP_TEXT>sample string 13</d2p1:MAP_TEXT>
      <d2p1:MESSAGE>sample string 15</d2p1:MESSAGE>
      <d2p1:TELEPHONE>sample string 4</d2p1:TELEPHONE>
      <d2p1:TWITTER>sample string 8</d2p1:TWITTER>
      <d2p1:WEEKDAYS>sample string 11</d2p1:WEEKDAYS>
      <d2p1:WEEKEND>sample string 12</d2p1:WEEKEND>
      <d2p1:X>9.1</d2p1:X>
      <d2p1:Y>10.1</d2p1:Y>
    </d2p1:BRANCH>
  </m_cData>
  <m_cDetail>
    <m_cDataTable i:nil="true" />
    <m_cException xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <ClassName xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">System.Exception</ClassName>
      <Message i:nil="true" xmlns="" />
      <Data i:nil="true" xmlns="" />
      <InnerException i:nil="true" xmlns="" />
      <HelpURL xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 1</HelpURL>
      <StackTraceString i:nil="true" xmlns="" />
      <RemoteStackTraceString i:nil="true" xmlns="" />
      <RemoteStackIndex xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">0</RemoteStackIndex>
      <ExceptionMethod i:nil="true" xmlns="" />
      <HResult xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">3</HResult>
      <Source xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 2</Source>
      <WatsonBuckets i:nil="true" xmlns="" />
    </m_cException>
    <m_eProcessState>SystemException</m_eProcessState>
    <m_iLastId>3</m_iLastId>
    <m_lUserMessageList xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </m_lUserMessageList>
    <m_sClass>sample string 1</m_sClass>
    <m_sErrorMessage>sample string 4</m_sErrorMessage>
    <m_sMethod>sample string 2</m_sMethod>
  </m_cDetail>
</ResultOfArrayOfBRANCHQMrHQ08a>