PUT api/Planning/{Id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

globally unique identifier

Required

Body Parameters

EventUpdateCommand
NameDescriptionTypeAdditional information
ExecutedStartDate

date

None.

ExecutedEndDate

date

None.

CrmId

string

None.

UsedArticles

Collection of LoggedArticleCreateUpdateCommand

None.

Comments

string

None.

ExecutedWorkmanId

string

None.

Attachments

Collection of string

None.

LoggedTimes

Collection of LoggedTimeCreateUpdateCommand

None.

ActionDate

date

None.

ActionType

TimeActionType

None.

LinkedEventsExecution

Collection of LinkedEvent

None.

IsExecuted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ExecutedStartDate": "2018-11-21T14:14:43.591799+00:00",
  "ExecutedEndDate": "2018-11-21T14:14:43.591799+00:00",
  "CrmId": "sample string 1",
  "UsedArticles": [
    {
      "Amount": 1,
      "ArticleId": "3b8b7ad8-d667-4db0-a3a4-ea54d15ebd8b"
    },
    {
      "Amount": 1,
      "ArticleId": "3b8b7ad8-d667-4db0-a3a4-ea54d15ebd8b"
    }
  ],
  "Comments": "sample string 2",
  "ExecutedWorkmanId": "sample string 3",
  "Attachments": [
    "sample string 1",
    "sample string 2"
  ],
  "LoggedTimes": [
    {
      "StartDate": "2018-11-21T14:14:43.591799+00:00",
      "EndDate": "2018-11-21T14:14:43.591799+00:00"
    },
    {
      "StartDate": "2018-11-21T14:14:43.591799+00:00",
      "EndDate": "2018-11-21T14:14:43.591799+00:00"
    }
  ],
  "ActionDate": "2018-11-21T14:14:43.591799+00:00",
  "ActionType": 0,
  "LinkedEventsExecution": [
    {
      "EventId": "36d14fe9-00c3-4e0f-a102-40ddad90131f",
      "WorkmanIn3PId": "sample string 2",
      "ExecutedWorkmanId": "sample string 3"
    },
    {
      "EventId": "36d14fe9-00c3-4e0f-a102-40ddad90131f",
      "WorkmanIn3PId": "sample string 2",
      "ExecutedWorkmanId": "sample string 3"
    }
  ],
  "IsExecuted": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ObjectCreationInfo
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "101f9e7d-b8d8-4627-833e-575564b4f098"
}