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": "b3115285-3efd-4c43-bbc7-56422d604e48",
    "PatientId": "581ccf3b-9ee0-488b-a145-7a16b2cbdfa3",
    "HistoryGroupId": 1,
    "Note": "sample string 2",
    "StatusId": 1,
    "HistoryTransactionDetails": [
      {
        "Id": "8c12e201-03a7-47cc-8b78-da090dfdf0ea",
        "HistoryTransactionId": "67350ec7-4c6c-414f-95d8-6fa5d992e243",
        "HistoryId": 1,
        "Value": "sample string 1"
      },
      {
        "Id": "8c12e201-03a7-47cc-8b78-da090dfdf0ea",
        "HistoryTransactionId": "67350ec7-4c6c-414f-95d8-6fa5d992e243",
        "HistoryId": 1,
        "Value": "sample string 1"
      }
    ]
  },
  {
    "Id": "b3115285-3efd-4c43-bbc7-56422d604e48",
    "PatientId": "581ccf3b-9ee0-488b-a145-7a16b2cbdfa3",
    "HistoryGroupId": 1,
    "Note": "sample string 2",
    "StatusId": 1,
    "HistoryTransactionDetails": [
      {
        "Id": "8c12e201-03a7-47cc-8b78-da090dfdf0ea",
        "HistoryTransactionId": "67350ec7-4c6c-414f-95d8-6fa5d992e243",
        "HistoryId": 1,
        "Value": "sample string 1"
      },
      {
        "Id": "8c12e201-03a7-47cc-8b78-da090dfdf0ea",
        "HistoryTransactionId": "67350ec7-4c6c-414f-95d8-6fa5d992e243",
        "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.