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": "00a54eab-c54e-4a00-b3c3-370cf787b14f",
    "PatientId": "cc9c6040-bd68-412e-bed0-729cd6844021",
    "HistoryGroupId": 1,
    "Note": "sample string 2",
    "StatusId": 1,
    "HistoryTransactionDetails": [
      {
        "Id": "51feb408-95f1-40cc-bfba-465cb935d4d4",
        "HistoryTransactionId": "26615324-6667-46d0-894e-c5dc5b946399",
        "HistoryId": 1,
        "Value": "sample string 1"
      },
      {
        "Id": "51feb408-95f1-40cc-bfba-465cb935d4d4",
        "HistoryTransactionId": "26615324-6667-46d0-894e-c5dc5b946399",
        "HistoryId": 1,
        "Value": "sample string 1"
      }
    ]
  },
  {
    "Id": "00a54eab-c54e-4a00-b3c3-370cf787b14f",
    "PatientId": "cc9c6040-bd68-412e-bed0-729cd6844021",
    "HistoryGroupId": 1,
    "Note": "sample string 2",
    "StatusId": 1,
    "HistoryTransactionDetails": [
      {
        "Id": "51feb408-95f1-40cc-bfba-465cb935d4d4",
        "HistoryTransactionId": "26615324-6667-46d0-894e-c5dc5b946399",
        "HistoryId": 1,
        "Value": "sample string 1"
      },
      {
        "Id": "51feb408-95f1-40cc-bfba-465cb935d4d4",
        "HistoryTransactionId": "26615324-6667-46d0-894e-c5dc5b946399",
        "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.