POST PlanCare2Api/MedicalPainScore

Insert MedicalPainScore.

Relation(s) must be of the following type: Client

Requires 'Insert' permission for function MedicalPainScore {4B0A8612-F7C4-4F81-BFB5-B195DC3402B7}

Request Information

URI Parameters

None.

Body Parameters

MedicalPainScore.

MedicalPainScore
NameDescriptionTypeAdditional information
PainScore

PainScore.

integer

None

Remarks

Remarks.

string

None

Id

Id of the registration.

integer

None

RelationId

Id of the relation which the registration belongs to.

integer

Required

RegistrationDateTime

DateTime of measurement.

date

Required

Source

Source of registration (example: name of the questionnaire).

string

None

Request Formats

application/json, text/json

Sample:
{
  "PainScore": 1,
  "Remarks": "sample string 2",
  "Id": 3,
  "RelationId": 4,
  "RegistrationDateTime": "2026-05-26T22:07:23.1313197+02:00",
  "Source": "sample string 6"
}

application/xml, text/xml

Sample:
<MedicalPainScore xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Medical">
  <Id>3</Id>
  <RegistrationDateTime>2026-05-26T22:07:23.1313197+02:00</RegistrationDateTime>
  <RelationId>4</RelationId>
  <Source>sample string 6</Source>
  <PainScore>1</PainScore>
  <Remarks>sample string 2</Remarks>
</MedicalPainScore>

Response Information

Resource Description

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