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": "2024-12-21T06:09:03.2691591+00:00", "Data": "sample string 5", "FileName": "sample string 6", "ConsultationLabId": 1, "HospitalDayLabId": 1, "PetDataId": 1, "PracticeId": 7, "Key": "f3d49dc6-9a03-4afa-8536-b835f27517de", "InfoSheetId": 1 }
text/html
Sample:
{"MediaId":1,"AddedBy":"sample string 2","Comment":"sample string 3","AddedDate":"2024-12-21T06:09:03.2691591+00:00","Data":"sample string 5","FileName":"sample string 6","ConsultationLabId":1,"HospitalDayLabId":1,"PetDataId":1,"PracticeId":7,"Key":"f3d49dc6-9a03-4afa-8536-b835f27517de","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": "2024-12-21T06:09:03.3785143+00:00", "Data": "sample string 5", "FileName": "sample string 6", "ConsultationLabId": 1, "HospitalDayLabId": 1, "PetDataId": 1, "PracticeId": 7, "Key": "484799af-293a-490b-a16f-86bb78c122e7", "InfoSheetId": 1 }
text/html
Sample:
{"MediaId":1,"AddedBy":"sample string 2","Comment":"sample string 3","AddedDate":"2024-12-21T06:09:03.3785143+00:00","Data":"sample string 5","FileName":"sample string 6","ConsultationLabId":1,"HospitalDayLabId":1,"PetDataId":1,"PracticeId":7,"Key":"484799af-293a-490b-a16f-86bb78c122e7","InfoSheetId":1}
application/xml
Sample:
text/xml
Sample: