POST api/roster/fdp/save
Request Information
URI Parameters
None.
Body Parameters
RosterFDPDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| IsGantt | integer |
None. |
|
| UserName | string |
None. |
|
| ids | Collection of RosterFDPId |
None. |
|
| crewId | integer |
None. |
|
| rank | string |
None. |
|
| index | integer |
None. |
|
| flights | Collection of string |
None. |
|
| from | integer |
None. |
|
| to | integer |
None. |
|
| homeBase | integer |
None. |
|
| flts | string |
None. |
|
| route | string |
None. |
|
| key | string |
None. |
|
| group | string |
None. |
|
| scheduleName | string |
None. |
|
| no | string |
None. |
|
| extension | integer |
None. |
|
| maxFDP | decimal number |
None. |
|
| split | boolean |
None. |
|
| IsSplitDuty | boolean |
None. |
|
| SplitValue | integer |
None. |
|
| IsAdmin | integer |
None. |
|
| DeletedFDPId | integer |
None. |
|
| items | Collection of RosterFDPDtoItem |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"IsGantt": 1,
"UserName": "sample string 2",
"ids": [
{
"id": 1,
"dh": 2,
"pos": "sample string 3"
},
{
"id": 1,
"dh": 2,
"pos": "sample string 3"
}
],
"crewId": 3,
"rank": "sample string 4",
"index": 5,
"flights": [
"sample string 1",
"sample string 2"
],
"from": 6,
"to": 7,
"homeBase": 8,
"flts": "sample string 9",
"route": "sample string 10",
"key": "sample string 11",
"group": "sample string 12",
"scheduleName": "sample string 13",
"no": "sample string 14",
"extension": 1,
"maxFDP": 1.0,
"split": true,
"IsSplitDuty": true,
"SplitValue": 1,
"IsAdmin": 1,
"DeletedFDPId": 1,
"items": [
{
"flightId": 1,
"dh": 2,
"std": "2025-10-26T23:29:43.946241+03:30",
"sta": "2025-10-26T23:29:43.946241+03:30",
"offblock": "2025-10-26T23:29:43.946241+03:30",
"onblock": "2025-10-26T23:29:43.946241+03:30",
"index": 7,
"rankId": 8,
"no": "sample string 9",
"from": "sample string 10",
"to": "sample string 11",
"pos": "sample string 12"
},
{
"flightId": 1,
"dh": 2,
"std": "2025-10-26T23:29:43.946241+03:30",
"sta": "2025-10-26T23:29:43.946241+03:30",
"offblock": "2025-10-26T23:29:43.946241+03:30",
"onblock": "2025-10-26T23:29:43.946241+03:30",
"index": 7,
"rankId": 8,
"no": "sample string 9",
"from": "sample string 10",
"to": "sample string 11",
"pos": "sample string 12"
}
]
}
text/html
Sample:
{"Id":1,"IsGantt":1,"UserName":"sample string 2","ids":[{"id":1,"dh":2,"pos":"sample string 3"},{"id":1,"dh":2,"pos":"sample string 3"}],"crewId":3,"rank":"sample string 4","index":5,"flights":["sample string 1","sample string 2"],"from":6,"to":7,"homeBase":8,"flts":"sample string 9","route":"sample string 10","key":"sample string 11","group":"sample string 12","scheduleName":"sample string 13","no":"sample string 14","extension":1,"maxFDP":1.0,"split":true,"IsSplitDuty":true,"SplitValue":1,"IsAdmin":1,"DeletedFDPId":1,"items":[{"flightId":1,"dh":2,"std":"2025-10-26T23:29:43.946241+03:30","sta":"2025-10-26T23:29:43.946241+03:30","offblock":"2025-10-26T23:29:43.946241+03:30","onblock":"2025-10-26T23:29:43.946241+03:30","index":7,"rankId":8,"no":"sample string 9","from":"sample string 10","to":"sample string 11","pos":"sample string 12"},{"flightId":1,"dh":2,"std":"2025-10-26T23:29:43.946241+03:30","sta":"2025-10-26T23:29:43.946241+03:30","offblock":"2025-10-26T23:29:43.946241+03:30","onblock":"2025-10-26T23:29:43.946241+03:30","index":7,"rankId":8,"no":"sample string 9","from":"sample string 10","to":"sample string 11","pos":"sample string 12"}]}
application/xml, text/xml
Sample:
<RosterFDPDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiScheduling.ViewModel">
<DeletedFDPId>1</DeletedFDPId>
<Id>1</Id>
<IsAdmin>1</IsAdmin>
<IsGantt>1</IsGantt>
<IsSplitDuty>true</IsSplitDuty>
<SplitValue>1</SplitValue>
<UserName>sample string 2</UserName>
<crewId>3</crewId>
<extension>1</extension>
<flights xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</flights>
<flts>sample string 9</flts>
<from>6</from>
<group>sample string 12</group>
<homeBase>8</homeBase>
<ids>
<RosterFDPId>
<dh>2</dh>
<id>1</id>
<pos>sample string 3</pos>
</RosterFDPId>
<RosterFDPId>
<dh>2</dh>
<id>1</id>
<pos>sample string 3</pos>
</RosterFDPId>
</ids>
<index>5</index>
<items>
<RosterFDPDtoItem>
<dh>2</dh>
<flightId>1</flightId>
<from>sample string 10</from>
<index>7</index>
<no>sample string 9</no>
<offblock>2025-10-26T23:29:43.946241+03:30</offblock>
<onblock>2025-10-26T23:29:43.946241+03:30</onblock>
<pos>sample string 12</pos>
<rankId>8</rankId>
<sta>2025-10-26T23:29:43.946241+03:30</sta>
<std>2025-10-26T23:29:43.946241+03:30</std>
<to>sample string 11</to>
</RosterFDPDtoItem>
<RosterFDPDtoItem>
<dh>2</dh>
<flightId>1</flightId>
<from>sample string 10</from>
<index>7</index>
<no>sample string 9</no>
<offblock>2025-10-26T23:29:43.946241+03:30</offblock>
<onblock>2025-10-26T23:29:43.946241+03:30</onblock>
<pos>sample string 12</pos>
<rankId>8</rankId>
<sta>2025-10-26T23:29:43.946241+03:30</sta>
<std>2025-10-26T23:29:43.946241+03:30</std>
<to>sample string 11</to>
</RosterFDPDtoItem>
</items>
<key>sample string 11</key>
<maxFDP>1</maxFDP>
<no>sample string 14</no>
<rank>sample string 4</rank>
<route>sample string 10</route>
<scheduleName>sample string 13</scheduleName>
<split>true</split>
<to>7</to>
</RosterFDPDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.