PUT Api/Resource/Request/BulletinBoard/Swap/Accept

The responder wants to pick up this request.

Request Information

URI Parameters

None.

Body Parameters

BulletinBoardReceiverRequestModel
NameDescriptionTypeAdditional information
requestID

integer

Required

ReceiverUserID

integer

Required

Comment

string

None.

ReceiverBeginDate

date

None.

ReceiverScheduledTasks

Collection of TaskScheduling

None.

ReceiverScheduledExtraCodes

Collection of ExtraCodeScheduling

None.

Request Formats

application/json, text/json

Sample:
{
  "requestID": 1,
  "ReceiverUserID": 2,
  "Comment": "sample string 3",
  "ReceiverBeginDate": "2024-12-22T08:17:13.6839489+01:00",
  "ReceiverScheduledTasks": [
    {
      "TaskID": 1,
      "SchedulingID": 4,
      "PlannerComment": "sample string 2",
      "Date": "2024-12-22T08:17:13.6839489+01:00",
      "TaskColor": 3,
      "BeginTime": "2024-12-22T08:17:13.6839489+01:00",
      "EndTime": "2024-12-22T08:17:13.6839489+01:00",
      "AcknowledgedID": 8
    },
    {
      "TaskID": 1,
      "SchedulingID": 4,
      "PlannerComment": "sample string 2",
      "Date": "2024-12-22T08:17:13.6839489+01:00",
      "TaskColor": 3,
      "BeginTime": "2024-12-22T08:17:13.6839489+01:00",
      "EndTime": "2024-12-22T08:17:13.6839489+01:00",
      "AcknowledgedID": 8
    }
  ],
  "ReceiverScheduledExtraCodes": [
    {
      "ExtraCodeID": 1,
      "SchedulingID": 4,
      "RequestID": 2,
      "Date": "2024-12-22T08:17:13.6839489+01:00",
      "PlannerComment": "sample string 3",
      "BeginTime": "2024-12-22T08:17:13.6839489+01:00",
      "EndTime": "2024-12-22T08:17:13.6839489+01:00",
      "AcknowledgedID": 8
    },
    {
      "ExtraCodeID": 1,
      "SchedulingID": 4,
      "RequestID": 2,
      "Date": "2024-12-22T08:17:13.6839489+01:00",
      "PlannerComment": "sample string 3",
      "BeginTime": "2024-12-22T08:17:13.6839489+01:00",
      "EndTime": "2024-12-22T08:17:13.6839489+01:00",
      "AcknowledgedID": 8
    }
  ]
}

application/xml, text/xml

Sample:
<BulletinBoardReceiverRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RostarCASWebAPI.Models">
  <Comment>sample string 3</Comment>
  <ReceiverBeginDate>2024-12-22T08:17:13.6839489+01:00</ReceiverBeginDate>
  <ReceiverScheduledExtraCodes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Paralax.Cas.Web.WebServices.Models">
    <d2p1:ExtraCodeScheduling>
      <d2p1:SchedulingID>4</d2p1:SchedulingID>
      <d2p1:Date>2024-12-22T08:17:13.6839489+01:00</d2p1:Date>
      <d2p1:BeginTime>2024-12-22T08:17:13.6839489+01:00</d2p1:BeginTime>
      <d2p1:EndTime>2024-12-22T08:17:13.6839489+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>2024-12-22T08:17:13.6839489+01:00</d2p1:Date>
      <d2p1:BeginTime>2024-12-22T08:17:13.6839489+01:00</d2p1:BeginTime>
      <d2p1:EndTime>2024-12-22T08:17:13.6839489+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>
  </ReceiverScheduledExtraCodes>
  <ReceiverScheduledTasks xmlns:d2p1="http://schemas.datacontract.org/2004/07/Paralax.Cas.Web.WebServices.Models">
    <d2p1:TaskScheduling>
      <d2p1:SchedulingID>4</d2p1:SchedulingID>
      <d2p1:Date>2024-12-22T08:17:13.6839489+01:00</d2p1:Date>
      <d2p1:BeginTime>2024-12-22T08:17:13.6839489+01:00</d2p1:BeginTime>
      <d2p1:EndTime>2024-12-22T08:17:13.6839489+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>2024-12-22T08:17:13.6839489+01:00</d2p1:Date>
      <d2p1:BeginTime>2024-12-22T08:17:13.6839489+01:00</d2p1:BeginTime>
      <d2p1:EndTime>2024-12-22T08:17:13.6839489+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>
  </ReceiverScheduledTasks>
  <ReceiverUserID>2</ReceiverUserID>
  <requestID>1</requestID>
</BulletinBoardReceiverRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.