GET api/Etms/GetStopage?CompanyId={CompanyId}&Type={Type}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CompanyId

string

Required

Type

string

Required

Body Parameters

None.

Response Information

Resource Description

ServiceResultOfListOfStopage
NameDescriptionTypeAdditional information
Message

string

None.

Description

string

None.

Result

boolean

None.

Data

Collection of Stopage

None.

status

integer

None.

TotalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Description": "sample string 2",
  "Result": true,
  "Data": [
    {
      "Pk_StoppageID": "sample string 1",
      "StoppageName": "sample string 2"
    },
    {
      "Pk_StoppageID": "sample string 1",
      "StoppageName": "sample string 2"
    }
  ],
  "status": 4,
  "TotalCount": 5
}

application/xml, text/xml

Sample:
<ServiceResultOfArrayOfStopageZtd1f7XL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.FTSServices">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.WebAPIMDL.Etms">
    <d2p1:Stopage>
      <d2p1:Pk_StoppageID>sample string 1</d2p1:Pk_StoppageID>
      <d2p1:StoppageName>sample string 2</d2p1:StoppageName>
    </d2p1:Stopage>
    <d2p1:Stopage>
      <d2p1:Pk_StoppageID>sample string 1</d2p1:Pk_StoppageID>
      <d2p1:StoppageName>sample string 2</d2p1:StoppageName>
    </d2p1:Stopage>
  </Data>
  <Description>sample string 2</Description>
  <Message>sample string 1</Message>
  <Result>true</Result>
  <TotalCount>5</TotalCount>
  <status>4</status>
</ServiceResultOfArrayOfStopageZtd1f7XL>