POST Api/Resource/Request/Change/Scheduled/ExtraCode

Create a new extra code request.

Request Information

URI Parameters

None.

Body Parameters

ChangeScheduledExtraCodeModel
NameDescriptionTypeAdditional information
RequestId

integer

Required

ExtraCodeId

integer

Required

ExtraCodeScheduling

ExtraCodeScheduling

Required

StartTime

date

Required

EndTime

date

None.

IsWholeDay

boolean

None.

Comment

string

None.

RequestChannel

RequestChannel

None.

Request Formats

application/json, text/json

Sample:
{
  "RequestId": 1,
  "ExtraCodeId": 2,
  "ExtraCodeScheduling": {
    "ExtraCodeID": 1,
    "SchedulingID": 4,
    "RequestID": 2,
    "Date": "2024-12-22T08:19:17.0033641+01:00",
    "PlannerComment": "sample string 3",
    "BeginTime": "2024-12-22T08:19:17.0033641+01:00",
    "EndTime": "2024-12-22T08:19:17.0033641+01:00",
    "AcknowledgedID": 8
  },
  "StartTime": "2024-12-22T08:19:17.0033641+01:00",
  "EndTime": "2024-12-22T08:19:17.0033641+01:00",
  "IsWholeDay": true,
  "Comment": "sample string 6",
  "RequestChannel": 1
}

application/xml, text/xml

Sample:
<ChangeScheduledExtraCodeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RostarCASWebAPI.Models.Requests">
  <Comment>sample string 6</Comment>
  <EndTime>2024-12-22T08:19:17.0033641+01:00</EndTime>
  <ExtraCodeId>2</ExtraCodeId>
  <ExtraCodeScheduling xmlns:d2p1="http://schemas.datacontract.org/2004/07/Paralax.Cas.Web.WebServices.Models">
    <d2p1:SchedulingID>4</d2p1:SchedulingID>
    <d2p1:Date>2024-12-22T08:19:17.0033641+01:00</d2p1:Date>
    <d2p1:BeginTime>2024-12-22T08:19:17.0033641+01:00</d2p1:BeginTime>
    <d2p1:EndTime>2024-12-22T08:19:17.0033641+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>
  </ExtraCodeScheduling>
  <IsWholeDay>true</IsWholeDay>
  <RequestChannel>SMS</RequestChannel>
  <RequestId>1</RequestId>
  <StartTime>2024-12-22T08:19:17.0033641+01:00</StartTime>
</ChangeScheduledExtraCodeModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.