POST api/Media
Request Information
URI Parameters
None.
Body Parameters
MediumName | Description | Type | Additional information |
---|---|---|---|
MediaId | integer |
None. |
|
AddedBy | string |
None. |
|
Comment | string |
None. |
|
AddedDate | date |
None. |
|
Data | string |
None. |
|
FileName | string |
None. |
|
ConsultationLabId | integer |
None. |
|
HospitalDayLabId | integer |
None. |
|
PetDataId | integer |
None. |
|
PracticeId | integer |
None. |
|
Key | globally unique identifier |
None. |
|
InfoSheetId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "MediaId": 1, "AddedBy": "sample string 2", "Comment": "sample string 3", "AddedDate": "2025-07-06T12:13:28.3886354+00:00", "Data": "sample string 5", "FileName": "sample string 6", "ConsultationLabId": 1, "HospitalDayLabId": 1, "PetDataId": 1, "PracticeId": 7, "Key": "a77dccc8-011c-46f7-bf24-8dc4126122db", "InfoSheetId": 1 }
text/html
Sample:
{"MediaId":1,"AddedBy":"sample string 2","Comment":"sample string 3","AddedDate":"2025-07-06T12:13:28.3886354+00:00","Data":"sample string 5","FileName":"sample string 6","ConsultationLabId":1,"HospitalDayLabId":1,"PetDataId":1,"PracticeId":7,"Key":"a77dccc8-011c-46f7-bf24-8dc4126122db","InfoSheetId":1}
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
MediumName | Description | Type | Additional information |
---|---|---|---|
MediaId | integer |
None. |
|
AddedBy | string |
None. |
|
Comment | string |
None. |
|
AddedDate | date |
None. |
|
Data | string |
None. |
|
FileName | string |
None. |
|
ConsultationLabId | integer |
None. |
|
HospitalDayLabId | integer |
None. |
|
PetDataId | integer |
None. |
|
PracticeId | integer |
None. |
|
Key | globally unique identifier |
None. |
|
InfoSheetId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "MediaId": 1, "AddedBy": "sample string 2", "Comment": "sample string 3", "AddedDate": "2025-07-06T12:13:28.5303073+00:00", "Data": "sample string 5", "FileName": "sample string 6", "ConsultationLabId": 1, "HospitalDayLabId": 1, "PetDataId": 1, "PracticeId": 7, "Key": "f1e25fc8-f80e-4bec-b55b-2c13f135d605", "InfoSheetId": 1 }
text/html
Sample:
{"MediaId":1,"AddedBy":"sample string 2","Comment":"sample string 3","AddedDate":"2025-07-06T12:13:28.5303073+00:00","Data":"sample string 5","FileName":"sample string 6","ConsultationLabId":1,"HospitalDayLabId":1,"PetDataId":1,"PracticeId":7,"Key":"f1e25fc8-f80e-4bec-b55b-2c13f135d605","InfoSheetId":1}
application/xml
Sample:
text/xml
Sample: