POST api/Project/canceldailyprojecttask

Request Information

URI Parameters

None.

Body Parameters

DailyScheduleTask
NameDescriptionTypeAdditional information
ID

integer

None.

SpaceName

string

None.

SpaceInventoryContentProjectTaskID

integer

None.

ScheduledDate

date

None.

StartDateTime

date

None.

CompletionDateTime

date

None.

UserName

string

None.

LastChanged

date

None.

SetupStartedDateTime

date

None.

SetupCompletedDateTime

date

None.

CleanupStartedDateTime

date

None.

CleanupCompletedDateTime

date

None.

StartedBy

integer

None.

SetupStartedBy

integer

None.

CleanupStartedBy

integer

None.

CompletedBy

integer

None.

SetupCompletedBy

integer

None.

CleanupCompletedBy

integer

None.

SetupDeferReasonID

integer

None.

DeferReasonID

integer

None.

CleanupDeferReasonID

integer

None.

CancelReasonID

integer

None.

StartedByEmployee

string

None.

SetupStartedByEmployee

string

None.

CleanupStartedByEmployee

string

None.

EstimatedTaskCompletionMinutes

decimal number

None.

SetupMinutes

decimal number

None.

CleanupMinutes

decimal number

None.

IsDelayed

boolean

None.

BaseMonth

integer

None.

DailyTaskStatus

DailyTaskStatus

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "SpaceName": "sample string 2",
  "SpaceInventoryContentProjectTaskID": 3,
  "ScheduledDate": "2024-05-17T03:59:02.3333724Z",
  "StartDateTime": "2024-05-17T03:59:02.3333724Z",
  "CompletionDateTime": "2024-05-17T03:59:02.3333724Z",
  "UserName": "sample string 5",
  "LastChanged": "2024-05-17T03:59:02.3333724Z",
  "SetupStartedDateTime": "2024-05-17T03:59:02.3333724Z",
  "SetupCompletedDateTime": "2024-05-17T03:59:02.3333724Z",
  "CleanupStartedDateTime": "2024-05-17T03:59:02.3333724Z",
  "CleanupCompletedDateTime": "2024-05-17T03:59:02.3333724Z",
  "StartedBy": 1,
  "SetupStartedBy": 1,
  "CleanupStartedBy": 1,
  "CompletedBy": 1,
  "SetupCompletedBy": 1,
  "CleanupCompletedBy": 1,
  "SetupDeferReasonID": 1,
  "DeferReasonID": 1,
  "CleanupDeferReasonID": 1,
  "CancelReasonID": 1,
  "StartedByEmployee": "sample string 6",
  "SetupStartedByEmployee": "sample string 7",
  "CleanupStartedByEmployee": "sample string 8",
  "EstimatedTaskCompletionMinutes": 9.0,
  "SetupMinutes": 10.0,
  "CleanupMinutes": 11.0,
  "IsDelayed": true,
  "BaseMonth": 1,
  "DailyTaskStatus": 6
}

application/xml, text/xml

Sample:
<DailyScheduleTask xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Models">
  <BaseMonth>1</BaseMonth>
  <CancelReasonID>1</CancelReasonID>
  <CleanupCompletedBy>1</CleanupCompletedBy>
  <CleanupCompletedDateTime>2024-05-17T03:59:02.3333724+00:00</CleanupCompletedDateTime>
  <CleanupDeferReasonID>1</CleanupDeferReasonID>
  <CleanupMinutes>11</CleanupMinutes>
  <CleanupStartedBy>1</CleanupStartedBy>
  <CleanupStartedByEmployee>sample string 8</CleanupStartedByEmployee>
  <CleanupStartedDateTime>2024-05-17T03:59:02.3333724+00:00</CleanupStartedDateTime>
  <CompletedBy>1</CompletedBy>
  <CompletionDateTime>2024-05-17T03:59:02.3333724+00:00</CompletionDateTime>
  <DeferReasonID>1</DeferReasonID>
  <EstimatedTaskCompletionMinutes>9</EstimatedTaskCompletionMinutes>
  <ID>1</ID>
  <IsDelayed>true</IsDelayed>
  <LastChanged>2024-05-17T03:59:02.3333724+00:00</LastChanged>
  <ScheduledDate>2024-05-17T03:59:02.3333724+00:00</ScheduledDate>
  <SetupCompletedBy>1</SetupCompletedBy>
  <SetupCompletedDateTime>2024-05-17T03:59:02.3333724+00:00</SetupCompletedDateTime>
  <SetupDeferReasonID>1</SetupDeferReasonID>
  <SetupMinutes>10</SetupMinutes>
  <SetupStartedBy>1</SetupStartedBy>
  <SetupStartedByEmployee>sample string 7</SetupStartedByEmployee>
  <SetupStartedDateTime>2024-05-17T03:59:02.3333724+00:00</SetupStartedDateTime>
  <SpaceInventoryContentProjectTaskID>3</SpaceInventoryContentProjectTaskID>
  <SpaceName>sample string 2</SpaceName>
  <StartDateTime>2024-05-17T03:59:02.3333724+00:00</StartDateTime>
  <StartedBy>1</StartedBy>
  <StartedByEmployee>sample string 6</StartedByEmployee>
  <UserName>sample string 5</UserName>
</DailyScheduleTask>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DailyScheduleTask'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>