POST api/_ext/InternalTrains/CreateNewSpoornetTrain
Request Information
URI Parameters
None.
Body Parameters
TrainsToIdentifyVM| Name | Description | Type | Additional information |
|---|---|---|---|
| RBCT_TRAIN_NAME | string |
None. |
|
| RBCT_TRAIN_CREATION_DATE | date |
None. |
|
| GRADE_NAME | string |
None. |
|
| COLLIERY_TRUCKS | decimal number |
None. |
|
| STATUS | string |
None. |
|
| SPOORNET_TRAIN_NAME | string |
None. |
|
| SPOORNET_CREATION_DATE | date |
None. |
|
| WAGON_DESCRIPTION | string |
None. |
|
| HAS_ISSUES | boolean |
None. |
|
| OK_TO_TIP | string |
None. |
|
| TFR_CONSIGNMENT | string |
None. |
|
| IDENTIFIED_BY | string |
None. |
|
| APPROVED | string |
None. |
|
| SPLIT_TYPE | string |
None. |
|
| RBCT_TRUCKS | decimal number |
None. |
|
| USER_NAME | string |
None. |
|
| REMARKS | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"RBCT_TRAIN_NAME": "sample string 1",
"RBCT_TRAIN_CREATION_DATE": "2026-02-12T19:36:42.6574166+02:00",
"GRADE_NAME": "sample string 3",
"COLLIERY_TRUCKS": 1.1,
"STATUS": "sample string 4",
"SPOORNET_TRAIN_NAME": "sample string 5",
"SPOORNET_CREATION_DATE": "2026-02-12T19:36:42.6574166+02:00",
"WAGON_DESCRIPTION": "sample string 6",
"HAS_ISSUES": true,
"OK_TO_TIP": "sample string 8",
"TFR_CONSIGNMENT": "sample string 9",
"IDENTIFIED_BY": "sample string 10",
"APPROVED": "sample string 11",
"SPLIT_TYPE": "sample string 12",
"RBCT_TRUCKS": 1.1,
"USER_NAME": "sample string 13",
"REMARKS": "sample string 14"
}
application/xml, text/xml
Sample:
<TrainsToIdentifyVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RBCT.Core.ViewModels"> <APPROVED>sample string 11</APPROVED> <COLLIERY_TRUCKS>1.1</COLLIERY_TRUCKS> <GRADE_NAME>sample string 3</GRADE_NAME> <HAS_ISSUES>true</HAS_ISSUES> <IDENTIFIED_BY>sample string 10</IDENTIFIED_BY> <OK_TO_TIP>sample string 8</OK_TO_TIP> <RBCT_TRAIN_CREATION_DATE>2026-02-12T19:36:42.6574166+02:00</RBCT_TRAIN_CREATION_DATE> <RBCT_TRAIN_NAME>sample string 1</RBCT_TRAIN_NAME> <RBCT_TRUCKS>1.1</RBCT_TRUCKS> <REMARKS>sample string 14</REMARKS> <SPLIT_TYPE>sample string 12</SPLIT_TYPE> <SPOORNET_CREATION_DATE>2026-02-12T19:36:42.6574166+02:00</SPOORNET_CREATION_DATE> <SPOORNET_TRAIN_NAME>sample string 5</SPOORNET_TRAIN_NAME> <STATUS>sample string 4</STATUS> <TFR_CONSIGNMENT>sample string 9</TFR_CONSIGNMENT> <USER_NAME>sample string 13</USER_NAME> <WAGON_DESCRIPTION>sample string 6</WAGON_DESCRIPTION> </TrainsToIdentifyVM>
multipart/form-data
Sample:
<TrainsToIdentifyVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RBCT.Core.ViewModels"><APPROVED>sample string 11</APPROVED><COLLIERY_TRUCKS>1.1</COLLIERY_TRUCKS><GRADE_NAME>sample string 3</GRADE_NAME><HAS_ISSUES>true</HAS_ISSUES><IDENTIFIED_BY>sample string 10</IDENTIFIED_BY><OK_TO_TIP>sample string 8</OK_TO_TIP><RBCT_TRAIN_CREATION_DATE>2026-02-12T19:36:42.6574166+02:00</RBCT_TRAIN_CREATION_DATE><RBCT_TRAIN_NAME>sample string 1</RBCT_TRAIN_NAME><RBCT_TRUCKS>1.1</RBCT_TRUCKS><REMARKS>sample string 14</REMARKS><SPLIT_TYPE>sample string 12</SPLIT_TYPE><SPOORNET_CREATION_DATE>2026-02-12T19:36:42.6574166+02:00</SPOORNET_CREATION_DATE><SPOORNET_TRAIN_NAME>sample string 5</SPOORNET_TRAIN_NAME><STATUS>sample string 4</STATUS><TFR_CONSIGNMENT>sample string 9</TFR_CONSIGNMENT><USER_NAME>sample string 13</USER_NAME><WAGON_DESCRIPTION>sample string 6</WAGON_DESCRIPTION></TrainsToIdentifyVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, multipart/form-data
Sample:
Sample not available.