POST PlanCare2Api/DaytimeActivity/MeetingSeries/{id}/meetings/{date}/programparts

Replaces the list programparts of a daytime activity meeting on a given day

Requires 'Start' permission for function DaytimeActivityProgramClient {E7F4025B-80C9-4E2A-8537-129E3D0CC2C9}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Id of the meeting

globally unique identifier

Required

date

Date of the occurrence of the meeting

date

Required

Body Parameters

List of programparts involved

Collection of ProgramPart
NameDescriptionTypeAdditional information
Time

Start of the program part

string

None.

Description

Description of the program part

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Time": "sample string 1",
    "Description": "sample string 2"
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfProgramPart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.DaytimeActivity">
  <ProgramPart>
    <Description>sample string 2</Description>
    <Time>sample string 1</Time>
  </ProgramPart>
  <ProgramPart>
    <Description>sample string 2</Description>
    <Time>sample string 1</Time>
  </ProgramPart>
</ArrayOfProgramPart>

Response Information

Resource Description

Accepted or BadRequest when no meeting is scheduled at given date.

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.