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

Name Description Type Additional 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
Name Description Type Additional information
Time

Start of the program part

string

-

Description

Description of the program part

string

-

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
Name Description Type Additional information
Version

Version

-

Content

HttpContent

-

StatusCode

HttpStatusCode

-

ReasonPhrase

string

-

Headers

Collection of Object

-

RequestMessage

HttpRequestMessage

-

IsSuccessStatusCode

boolean

-