POST api/fees/transport-fees-structure/create

Creates the specified fees list.

Request Information

URI Parameters

None.

Body Parameters

The fees list.

Collection of Systemic.Model.Fees.Master.mlFeesStructure+TransportAmountInfo
NamedescriptionTypeAdditional information
TransportFeeAmountSysID

integer

None.

FeeStructureSysID

integer

None.

Amount

decimal number

None.

RouteSysID

integer

None.

StopSysID

integer

None.

StopName

string

None.

VehicleSysID

byte

None.

TripSysID

integer

None.

AcademicYearSysID

integer

None.

Request Formats

application/json, text/json, text/html

Sample:
[
  {
    "TransportFeeAmountSysID": 1,
    "FeeStructureSysID": 2,
    "Amount": 3.0,
    "RouteSysID": 4,
    "StopSysID": 5,
    "StopName": "sample string 6",
    "VehicleSysID": 64,
    "TripSysID": 8,
    "AcademicYearSysID": 9
  },
  {
    "TransportFeeAmountSysID": 1,
    "FeeStructureSysID": 2,
    "Amount": 3.0,
    "RouteSysID": 4,
    "StopSysID": 5,
    "StopName": "sample string 6",
    "VehicleSysID": 64,
    "TripSysID": 8,
    "AcademicYearSysID": 9
  }
]

text/xml

Sample:
<ArrayOfmlFeesStructure.TransportAmountInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Systemic.Model.Fees.Master">
  <mlFeesStructure.TransportAmountInfo>
    <AcademicYearSysID xmlns="http://schemas.datacontract.org/2004/07/Systemic.Model.Transport">9</AcademicYearSysID>
    <RouteSysID xmlns="http://schemas.datacontract.org/2004/07/Systemic.Model.Transport">4</RouteSysID>
    <StopName xmlns="http://schemas.datacontract.org/2004/07/Systemic.Model.Transport">sample string 6</StopName>
    <StopSysID xmlns="http://schemas.datacontract.org/2004/07/Systemic.Model.Transport">5</StopSysID>
    <TripSysID xmlns="http://schemas.datacontract.org/2004/07/Systemic.Model.Transport">8</TripSysID>
    <VehicleSysID xmlns="http://schemas.datacontract.org/2004/07/Systemic.Model.Transport">64</VehicleSysID>
    <Amount>3</Amount>
    <FeeStructureSysID>2</FeeStructureSysID>
    <TransportFeeAmountSysID>1</TransportFeeAmountSysID>
  </mlFeesStructure.TransportAmountInfo>
  <mlFeesStructure.TransportAmountInfo>
    <AcademicYearSysID xmlns="http://schemas.datacontract.org/2004/07/Systemic.Model.Transport">9</AcademicYearSysID>
    <RouteSysID xmlns="http://schemas.datacontract.org/2004/07/Systemic.Model.Transport">4</RouteSysID>
    <StopName xmlns="http://schemas.datacontract.org/2004/07/Systemic.Model.Transport">sample string 6</StopName>
    <StopSysID xmlns="http://schemas.datacontract.org/2004/07/Systemic.Model.Transport">5</StopSysID>
    <TripSysID xmlns="http://schemas.datacontract.org/2004/07/Systemic.Model.Transport">8</TripSysID>
    <VehicleSysID xmlns="http://schemas.datacontract.org/2004/07/Systemic.Model.Transport">64</VehicleSysID>
    <Amount>3</Amount>
    <FeeStructureSysID>2</FeeStructureSysID>
    <TransportFeeAmountSysID>1</TransportFeeAmountSysID>
  </mlFeesStructure.TransportAmountInfo>
</ArrayOfmlFeesStructure.TransportAmountInfo>

response Information

Resource description

ServerResponse.

Api.Server.ServerResponse
NamedescriptionTypeAdditional information
response

string

None.

success

Api.Server.MlSuccess

None.

failure

Api.Server.MlError

None.

response Formats

application/json, text/json, text/html

Sample:
{
  "response": "sample string 1",
  "success": null,
  "failure": null
}

text/xml

Sample:
<ServerResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api.Server">
  <failure i:nil="true" />
  <response>sample string 1</response>
  <success i:nil="true" />
</ServerResponse>