POST api/InternalTrains/SetCRCTrainApproval

Request Information

URI Parameters

None.

Body Parameters

IdentifyTrainVM
NameDescriptionTypeAdditional information
RBCT_TRAIN_NAME

string

None.

RBCT_TRAIN_CREATION_DATE

date

None.

HAS_ISSUES

boolean

None.

OK_TO_TIP

string

None.

TFR_CONSIGNMENT

string

None.

IDENTIFIED_BY

string

None.

APPROVED

string

None.

WAGONS

Collection of IdentifyTrainWagonVM

None.

CARDS

Collection of IdentifyTrainCardVM

None.

Request Formats

application/json, text/json

Sample:
{
  "RBCT_TRAIN_NAME": "sample string 1",
  "RBCT_TRAIN_CREATION_DATE": "2026-02-12T19:38:02.5267714+02:00",
  "HAS_ISSUES": true,
  "OK_TO_TIP": "sample string 4",
  "TFR_CONSIGNMENT": "sample string 5",
  "IDENTIFIED_BY": "sample string 6",
  "APPROVED": "sample string 7",
  "WAGONS": [
    {
      "RBCT_TRAIN_NAME": "sample string 1",
      "RBCT_TRAIN_CREATION_DATE": "2026-02-12T19:38:02.5267714+02:00",
      "SEQ": 3,
      "TRUCK_NO": "sample string 4",
      "CONSIGNMENT_CODE": 5,
      "COLLIERY_TRUCK_MASS": 6,
      "TRUCK_ARRIVED": "sample string 7",
      "FILE_NAME": "sample string 8",
      "IS_IDENTIFIED": true
    },
    {
      "RBCT_TRAIN_NAME": "sample string 1",
      "RBCT_TRAIN_CREATION_DATE": "2026-02-12T19:38:02.5267714+02:00",
      "SEQ": 3,
      "TRUCK_NO": "sample string 4",
      "CONSIGNMENT_CODE": 5,
      "COLLIERY_TRUCK_MASS": 6,
      "TRUCK_ARRIVED": "sample string 7",
      "FILE_NAME": "sample string 8",
      "IS_IDENTIFIED": true
    }
  ],
  "CARDS": [
    {
      "RBCT_TRAIN_NAME": "sample string 1",
      "RBCT_TRAIN_CREATION_DATE": "2026-02-12T19:38:02.5267714+02:00",
      "SEQ": 3,
      "TRUCK_NO": "sample string 4",
      "FILE_NAME": "sample string 5",
      "IS_IDENTIFIED": true
    },
    {
      "RBCT_TRAIN_NAME": "sample string 1",
      "RBCT_TRAIN_CREATION_DATE": "2026-02-12T19:38:02.5267714+02:00",
      "SEQ": 3,
      "TRUCK_NO": "sample string 4",
      "FILE_NAME": "sample string 5",
      "IS_IDENTIFIED": true
    }
  ]
}

application/xml, text/xml

Sample:
<IdentifyTrainVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RBCT.Core.ViewModels">
  <APPROVED>sample string 7</APPROVED>
  <CARDS>
    <IdentifyTrainCardVM>
      <FILE_NAME>sample string 5</FILE_NAME>
      <IS_IDENTIFIED>true</IS_IDENTIFIED>
      <RBCT_TRAIN_CREATION_DATE>2026-02-12T19:38:02.5267714+02:00</RBCT_TRAIN_CREATION_DATE>
      <RBCT_TRAIN_NAME>sample string 1</RBCT_TRAIN_NAME>
      <SEQ>3</SEQ>
      <TRUCK_NO>sample string 4</TRUCK_NO>
    </IdentifyTrainCardVM>
    <IdentifyTrainCardVM>
      <FILE_NAME>sample string 5</FILE_NAME>
      <IS_IDENTIFIED>true</IS_IDENTIFIED>
      <RBCT_TRAIN_CREATION_DATE>2026-02-12T19:38:02.5267714+02:00</RBCT_TRAIN_CREATION_DATE>
      <RBCT_TRAIN_NAME>sample string 1</RBCT_TRAIN_NAME>
      <SEQ>3</SEQ>
      <TRUCK_NO>sample string 4</TRUCK_NO>
    </IdentifyTrainCardVM>
  </CARDS>
  <HAS_ISSUES>true</HAS_ISSUES>
  <IDENTIFIED_BY>sample string 6</IDENTIFIED_BY>
  <OK_TO_TIP>sample string 4</OK_TO_TIP>
  <RBCT_TRAIN_CREATION_DATE>2026-02-12T19:38:02.5267714+02:00</RBCT_TRAIN_CREATION_DATE>
  <RBCT_TRAIN_NAME>sample string 1</RBCT_TRAIN_NAME>
  <TFR_CONSIGNMENT>sample string 5</TFR_CONSIGNMENT>
  <WAGONS>
    <IdentifyTrainWagonVM>
      <COLLIERY_TRUCK_MASS>6</COLLIERY_TRUCK_MASS>
      <CONSIGNMENT_CODE>5</CONSIGNMENT_CODE>
      <FILE_NAME>sample string 8</FILE_NAME>
      <IS_IDENTIFIED>true</IS_IDENTIFIED>
      <RBCT_TRAIN_CREATION_DATE>2026-02-12T19:38:02.5267714+02:00</RBCT_TRAIN_CREATION_DATE>
      <RBCT_TRAIN_NAME>sample string 1</RBCT_TRAIN_NAME>
      <SEQ>3</SEQ>
      <TRUCK_ARRIVED>sample string 7</TRUCK_ARRIVED>
      <TRUCK_NO>sample string 4</TRUCK_NO>
    </IdentifyTrainWagonVM>
    <IdentifyTrainWagonVM>
      <COLLIERY_TRUCK_MASS>6</COLLIERY_TRUCK_MASS>
      <CONSIGNMENT_CODE>5</CONSIGNMENT_CODE>
      <FILE_NAME>sample string 8</FILE_NAME>
      <IS_IDENTIFIED>true</IS_IDENTIFIED>
      <RBCT_TRAIN_CREATION_DATE>2026-02-12T19:38:02.5267714+02:00</RBCT_TRAIN_CREATION_DATE>
      <RBCT_TRAIN_NAME>sample string 1</RBCT_TRAIN_NAME>
      <SEQ>3</SEQ>
      <TRUCK_ARRIVED>sample string 7</TRUCK_ARRIVED>
      <TRUCK_NO>sample string 4</TRUCK_NO>
    </IdentifyTrainWagonVM>
  </WAGONS>
</IdentifyTrainVM>

multipart/form-data

Sample:
<IdentifyTrainVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RBCT.Core.ViewModels"><APPROVED>sample string 7</APPROVED><CARDS><IdentifyTrainCardVM><FILE_NAME>sample string 5</FILE_NAME><IS_IDENTIFIED>true</IS_IDENTIFIED><RBCT_TRAIN_CREATION_DATE>2026-02-12T19:38:02.5267714+02:00</RBCT_TRAIN_CREATION_DATE><RBCT_TRAIN_NAME>sample string 1</RBCT_TRAIN_NAME><SEQ>3</SEQ><TRUCK_NO>sample string 4</TRUCK_NO></IdentifyTrainCardVM><IdentifyTrainCardVM><FILE_NAME>sample string 5</FILE_NAME><IS_IDENTIFIED>true</IS_IDENTIFIED><RBCT_TRAIN_CREATION_DATE>2026-02-12T19:38:02.5267714+02:00</RBCT_TRAIN_CREATION_DATE><RBCT_TRAIN_NAME>sample string 1</RBCT_TRAIN_NAME><SEQ>3</SEQ><TRUCK_NO>sample string 4</TRUCK_NO></IdentifyTrainCardVM></CARDS><HAS_ISSUES>true</HAS_ISSUES><IDENTIFIED_BY>sample string 6</IDENTIFIED_BY><OK_TO_TIP>sample string 4</OK_TO_TIP><RBCT_TRAIN_CREATION_DATE>2026-02-12T19:38:02.5267714+02:00</RBCT_TRAIN_CREATION_DATE><RBCT_TRAIN_NAME>sample string 1</RBCT_TRAIN_NAME><TFR_CONSIGNMENT>sample string 5</TFR_CONSIGNMENT><WAGONS><IdentifyTrainWagonVM><COLLIERY_TRUCK_MASS>6</COLLIERY_TRUCK_MASS><CONSIGNMENT_CODE>5</CONSIGNMENT_CODE><FILE_NAME>sample string 8</FILE_NAME><IS_IDENTIFIED>true</IS_IDENTIFIED><RBCT_TRAIN_CREATION_DATE>2026-02-12T19:38:02.5267714+02:00</RBCT_TRAIN_CREATION_DATE><RBCT_TRAIN_NAME>sample string 1</RBCT_TRAIN_NAME><SEQ>3</SEQ><TRUCK_ARRIVED>sample string 7</TRUCK_ARRIVED><TRUCK_NO>sample string 4</TRUCK_NO></IdentifyTrainWagonVM><IdentifyTrainWagonVM><COLLIERY_TRUCK_MASS>6</COLLIERY_TRUCK_MASS><CONSIGNMENT_CODE>5</CONSIGNMENT_CODE><FILE_NAME>sample string 8</FILE_NAME><IS_IDENTIFIED>true</IS_IDENTIFIED><RBCT_TRAIN_CREATION_DATE>2026-02-12T19:38:02.5267714+02:00</RBCT_TRAIN_CREATION_DATE><RBCT_TRAIN_NAME>sample string 1</RBCT_TRAIN_NAME><SEQ>3</SEQ><TRUCK_ARRIVED>sample string 7</TRUCK_ARRIVED><TRUCK_NO>sample string 4</TRUCK_NO></IdentifyTrainWagonVM></WAGONS></IdentifyTrainVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.