POST Api/Resource/Request/BulletinBoard/Swap
Create the bulletin board swap request
Request Information
URI Parameters
None.
Body Parameters
BulletinBoardCreateModel| Name | Description | Type | Additional information |
|---|---|---|---|
| FirstDate | date |
None. |
|
| SecondDate | date |
None. |
|
| SubmittorDate | date |
None. |
|
| WantedSwapInReturn | integer |
None. |
|
| WholeDayOffered | boolean |
None. |
|
| Comment | string |
None. |
|
| SubmittorScheduledTasks | Collection of TaskScheduling |
None. |
|
| SubmittorScheduledExtraCodes | Collection of ExtraCodeScheduling |
None. |
|
| RequestChannel | RequestChannel |
None. |
|
| InitiatiorKind | InitiatorKind |
None. |
Request Formats
application/json, text/json
Sample:
{
"FirstDate": "2025-11-01T18:31:31.0960459+01:00",
"SecondDate": "2025-11-01T18:31:31.0960459+01:00",
"SubmittorDate": "2025-11-01T18:31:31.0960459+01:00",
"WantedSwapInReturn": 4,
"WholeDayOffered": true,
"Comment": "sample string 6",
"SubmittorScheduledTasks": [
{
"TaskID": 1,
"SchedulingID": 4,
"PlannerComment": "sample string 2",
"Date": "2025-11-01T18:31:31.0960459+01:00",
"TaskColor": 3,
"BeginTime": "2025-11-01T18:31:31.0960459+01:00",
"EndTime": "2025-11-01T18:31:31.0960459+01:00",
"AcknowledgedID": 8
},
{
"TaskID": 1,
"SchedulingID": 4,
"PlannerComment": "sample string 2",
"Date": "2025-11-01T18:31:31.0960459+01:00",
"TaskColor": 3,
"BeginTime": "2025-11-01T18:31:31.0960459+01:00",
"EndTime": "2025-11-01T18:31:31.0960459+01:00",
"AcknowledgedID": 8
}
],
"SubmittorScheduledExtraCodes": [
{
"ExtraCodeID": 1,
"SchedulingID": 4,
"RequestID": 2,
"Date": "2025-11-01T18:31:31.0960459+01:00",
"PlannerComment": "sample string 3",
"BeginTime": "2025-11-01T18:31:31.0960459+01:00",
"EndTime": "2025-11-01T18:31:31.0960459+01:00",
"AcknowledgedID": 8
},
{
"ExtraCodeID": 1,
"SchedulingID": 4,
"RequestID": 2,
"Date": "2025-11-01T18:31:31.0960459+01:00",
"PlannerComment": "sample string 3",
"BeginTime": "2025-11-01T18:31:31.0960459+01:00",
"EndTime": "2025-11-01T18:31:31.0960459+01:00",
"AcknowledgedID": 8
}
],
"RequestChannel": 1,
"InitiatiorKind": 0
}
application/xml, text/xml
Sample:
<BulletinBoardCreateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RostarCASWebAPI.Models">
<Comment>sample string 6</Comment>
<FirstDate>2025-11-01T18:31:31.0960459+01:00</FirstDate>
<InitiatiorKind>None</InitiatiorKind>
<RequestChannel>SMS</RequestChannel>
<SecondDate>2025-11-01T18:31:31.0960459+01:00</SecondDate>
<SubmittorDate>2025-11-01T18:31:31.0960459+01:00</SubmittorDate>
<SubmittorScheduledExtraCodes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Paralax.Cas.Web.WebServices.Models">
<d2p1:ExtraCodeScheduling>
<d2p1:SchedulingID>4</d2p1:SchedulingID>
<d2p1:Date>2025-11-01T18:31:31.0960459+01:00</d2p1:Date>
<d2p1:BeginTime>2025-11-01T18:31:31.0960459+01:00</d2p1:BeginTime>
<d2p1:EndTime>2025-11-01T18:31:31.0960459+01:00</d2p1:EndTime>
<d2p1:AcknowledgedID>8</d2p1:AcknowledgedID>
<d2p1:ExtraCodeID>1</d2p1:ExtraCodeID>
<d2p1:RequestID>2</d2p1:RequestID>
<d2p1:PlannerComment>sample string 3</d2p1:PlannerComment>
</d2p1:ExtraCodeScheduling>
<d2p1:ExtraCodeScheduling>
<d2p1:SchedulingID>4</d2p1:SchedulingID>
<d2p1:Date>2025-11-01T18:31:31.0960459+01:00</d2p1:Date>
<d2p1:BeginTime>2025-11-01T18:31:31.0960459+01:00</d2p1:BeginTime>
<d2p1:EndTime>2025-11-01T18:31:31.0960459+01:00</d2p1:EndTime>
<d2p1:AcknowledgedID>8</d2p1:AcknowledgedID>
<d2p1:ExtraCodeID>1</d2p1:ExtraCodeID>
<d2p1:RequestID>2</d2p1:RequestID>
<d2p1:PlannerComment>sample string 3</d2p1:PlannerComment>
</d2p1:ExtraCodeScheduling>
</SubmittorScheduledExtraCodes>
<SubmittorScheduledTasks xmlns:d2p1="http://schemas.datacontract.org/2004/07/Paralax.Cas.Web.WebServices.Models">
<d2p1:TaskScheduling>
<d2p1:SchedulingID>4</d2p1:SchedulingID>
<d2p1:Date>2025-11-01T18:31:31.0960459+01:00</d2p1:Date>
<d2p1:BeginTime>2025-11-01T18:31:31.0960459+01:00</d2p1:BeginTime>
<d2p1:EndTime>2025-11-01T18:31:31.0960459+01:00</d2p1:EndTime>
<d2p1:AcknowledgedID>8</d2p1:AcknowledgedID>
<d2p1:TaskID>1</d2p1:TaskID>
<d2p1:PlannerComment>sample string 2</d2p1:PlannerComment>
<d2p1:TaskColor>3</d2p1:TaskColor>
</d2p1:TaskScheduling>
<d2p1:TaskScheduling>
<d2p1:SchedulingID>4</d2p1:SchedulingID>
<d2p1:Date>2025-11-01T18:31:31.0960459+01:00</d2p1:Date>
<d2p1:BeginTime>2025-11-01T18:31:31.0960459+01:00</d2p1:BeginTime>
<d2p1:EndTime>2025-11-01T18:31:31.0960459+01:00</d2p1:EndTime>
<d2p1:AcknowledgedID>8</d2p1:AcknowledgedID>
<d2p1:TaskID>1</d2p1:TaskID>
<d2p1:PlannerComment>sample string 2</d2p1:PlannerComment>
<d2p1:TaskColor>3</d2p1:TaskColor>
</d2p1:TaskScheduling>
</SubmittorScheduledTasks>
<WantedSwapInReturn>4</WantedSwapInReturn>
<WholeDayOffered>true</WholeDayOffered>
</BulletinBoardCreateModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |