POST api/THPatientHistory

Request Information

URI Parameters

None.

Body Parameters

Collection of Transaction
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

PatientId

globally unique identifier

Required

HistoryGroupId

integer

None.

Note

string

String length: inclusive between 0 and 1000

StatusId

integer

None.

HistoryTransactionDetails

Collection of HistoryTransactionDetailModel

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": "12c25f94-c8a4-41d1-b8be-61d84adb7594",
    "PatientId": "1dc886ee-39aa-47d0-9107-912a50615167",
    "HistoryGroupId": 1,
    "Note": "sample string 2",
    "StatusId": 1,
    "HistoryTransactionDetails": [
      {
        "Id": "57debbd7-d47c-45f8-963c-b2cde29c1441",
        "HistoryTransactionId": "4717356b-8818-4809-a8aa-e70653de5aa5",
        "HistoryId": 1,
        "Value": "sample string 1"
      },
      {
        "Id": "57debbd7-d47c-45f8-963c-b2cde29c1441",
        "HistoryTransactionId": "4717356b-8818-4809-a8aa-e70653de5aa5",
        "HistoryId": 1,
        "Value": "sample string 1"
      }
    ]
  },
  {
    "Id": "12c25f94-c8a4-41d1-b8be-61d84adb7594",
    "PatientId": "1dc886ee-39aa-47d0-9107-912a50615167",
    "HistoryGroupId": 1,
    "Note": "sample string 2",
    "StatusId": 1,
    "HistoryTransactionDetails": [
      {
        "Id": "57debbd7-d47c-45f8-963c-b2cde29c1441",
        "HistoryTransactionId": "4717356b-8818-4809-a8aa-e70653de5aa5",
        "HistoryId": 1,
        "Value": "sample string 1"
      },
      {
        "Id": "57debbd7-d47c-45f8-963c-b2cde29c1441",
        "HistoryTransactionId": "4717356b-8818-4809-a8aa-e70653de5aa5",
        "HistoryId": 1,
        "Value": "sample string 1"
      }
    ]
  }
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.