POST API/V1/Patients/{patientId}/Signals

Request Information

URI Parameters

NameDescriptionTypeAdditional information
patientId

integer

Required

Body Parameters

iMDsoft.API.Metavision.Data.Signals.SignalModelEntity
NameDescriptionTypeAdditional information
PatientId

integer

None.

ParameterId

integer

None.

Abbreviation

string

None.

EnteredByUser

string

None.

UpdateTime

date

None.

ValidatedByUser

string

None.

ValidationTime

date

None.

SignalTime

date

None.

HasWarning

boolean

None.

IsError

boolean

None.

Comment

string

None.

ValueString

iMDsoft.API.Metavision.Data.Signals.ValuesEntities.FreeTextValue

None.

ValueNumeric

iMDsoft.API.Metavision.Data.Signals.ValuesEntities.NumericValue

None.

ValueTexts

iMDsoft.API.Metavision.Data.Signals.ValuesEntities.TextValues

None.

ValueBoolean

iMDsoft.API.Metavision.Data.Signals.ValuesEntities.BooleanValue

None.

ValueDateTime

iMDsoft.API.Metavision.Data.Signals.ValuesEntities.DateAndTimeValue

None.

ValueBed

iMDsoft.API.Metavision.Data.Signals.ValuesEntities.MappedBeds

None.

ValueUser

iMDsoft.API.Metavision.Data.Signals.ValuesEntities.MappedUsers

None.

ValueCareTeam

iMDsoft.API.Metavision.Data.Signals.ValuesEntities.MappedCareTeams

None.

HighNormalValue

decimal number

None.

LowNormalValue

decimal number

None.

DbTimeStamp

Collection of byte

None.

Values

Collection of iMDsoft.API.Metavision.Data.Signals.ValuesEntities.DictionaryEntities.DictionaryValue

None.

Request Formats

application/json, text/json

Sample:
{
  "patientId": 1,
  "parameterId": 2,
  "abbreviation": "sample string 3",
  "enteredByUser": "sample string 4",
  "updateTime": "2024-11-07T02:41:05.3371867+02:00",
  "validatedByUser": "sample string 6",
  "validationTime": "2024-11-07T02:41:05.3371867+02:00",
  "signalTime": "2024-11-07T02:41:05.3371867+02:00",
  "hasWarning": true,
  "isError": true,
  "comment": "sample string 10",
  "valueString": {
    "value": "sample string 1",
    "formattedValue": "sample string 2"
  },
  "valueNumeric": {
    "value": 1.0,
    "unit": {
      "id": 1,
      "code": "sample string 1",
      "description": "sample string 2"
    },
    "tag": "sample string 1",
    "formattedValue": "sample string 2"
  },
  "valueTexts": {
    "formattedValue": "sample string 1",
    "values": [
      {
        "textID": 1,
        "text": "sample string 2",
        "numericEQ": "sample string 3",
        "description": "sample string 4"
      },
      {
        "textID": 1,
        "text": "sample string 2",
        "numericEQ": "sample string 3",
        "description": "sample string 4"
      }
    ]
  },
  "valueBoolean": {
    "value": true,
    "formattedValue": "sample string 1"
  },
  "valueDateTime": {
    "value": "2024-11-07T02:41:05.3371867+02:00",
    "formattedValue": "sample string 2"
  },
  "valueBed": {
    "id": 1,
    "code": "sample string 2",
    "description": "sample string 3",
    "group": "sample string 4",
    "formattedValue": "sample string 5"
  },
  "valueUser": {
    "id": 1,
    "login": "sample string 2",
    "formattedValue": "sample string 3"
  },
  "valueCareTeam": {
    "id": 1,
    "code": "sample string 2",
    "description": "sample string 3",
    "formattedValue": "sample string 4"
  },
  "highNormalValue": 1.0,
  "lowNormalValue": 1.0,
  "dbTimeStamp": "QEA=",
  "values": [
    {
      "code": "sample string 1",
      "description": "sample string 2",
      "index": 3,
      "attributes": [
        {
          "id": "sample string 1",
          "name": "sample string 2",
          "value": {}
        },
        {
          "id": "sample string 1",
          "name": "sample string 2",
          "value": {}
        }
      ]
    },
    {
      "code": "sample string 1",
      "description": "sample string 2",
      "index": 3,
      "attributes": [
        {
          "id": "sample string 1",
          "name": "sample string 2",
          "value": {}
        },
        {
          "id": "sample string 1",
          "name": "sample string 2",
          "value": {}
        }
      ]
    }
  ]
}

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 'SignalModelEntity'.

Response Information

Resource Description

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.