GET api/ExternalTrains/ListCollieries

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of COLLIERIES
NameDescriptionTypeAdditional information
COLLIERY_NAME

string

None.

USER_NAME

string

None.

PROVINCE

string

None.

SIDING_NAME

string

None.

ACTIVE

string

None.

SABS_COLLIERY

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "COLLIERY_NAME": "sample string 1",
    "USER_NAME": "sample string 2",
    "PROVINCE": "sample string 3",
    "SIDING_NAME": "sample string 4",
    "ACTIVE": "sample string 5",
    "SABS_COLLIERY": "sample string 6"
  },
  {
    "COLLIERY_NAME": "sample string 1",
    "USER_NAME": "sample string 2",
    "PROVINCE": "sample string 3",
    "SIDING_NAME": "sample string 4",
    "ACTIVE": "sample string 5",
    "SABS_COLLIERY": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCOLLIERIES xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RBCT.Core.DB.Models">
  <COLLIERIES>
    <ACTIVE>sample string 5</ACTIVE>
    <COLLIERY_NAME>sample string 1</COLLIERY_NAME>
    <PROVINCE>sample string 3</PROVINCE>
    <SABS_COLLIERY>sample string 6</SABS_COLLIERY>
    <SIDING_NAME>sample string 4</SIDING_NAME>
    <USER_NAME>sample string 2</USER_NAME>
  </COLLIERIES>
  <COLLIERIES>
    <ACTIVE>sample string 5</ACTIVE>
    <COLLIERY_NAME>sample string 1</COLLIERY_NAME>
    <PROVINCE>sample string 3</PROVINCE>
    <SABS_COLLIERY>sample string 6</SABS_COLLIERY>
    <SIDING_NAME>sample string 4</SIDING_NAME>
    <USER_NAME>sample string 2</USER_NAME>
  </COLLIERIES>
</ArrayOfCOLLIERIES>

multipart/form-data

Sample:
<ArrayOfCOLLIERIES xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RBCT.Core.DB.Models"><COLLIERIES><ACTIVE>sample string 5</ACTIVE><COLLIERY_NAME>sample string 1</COLLIERY_NAME><PROVINCE>sample string 3</PROVINCE><SABS_COLLIERY>sample string 6</SABS_COLLIERY><SIDING_NAME>sample string 4</SIDING_NAME><USER_NAME>sample string 2</USER_NAME></COLLIERIES><COLLIERIES><ACTIVE>sample string 5</ACTIVE><COLLIERY_NAME>sample string 1</COLLIERY_NAME><PROVINCE>sample string 3</PROVINCE><SABS_COLLIERY>sample string 6</SABS_COLLIERY><SIDING_NAME>sample string 4</SIDING_NAME><USER_NAME>sample string 2</USER_NAME></COLLIERIES></ArrayOfCOLLIERIES>