POST api/Media/PostMedium
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:26:47.5077043+00:00", "Data": "sample string 5", "FileName": "sample string 6", "ConsultationLabId": 1, "HospitalDayLabId": 1, "PetDataId": 1, "PracticeId": 7, "Key": "15e62930-4752-4c72-8b89-b0d75b5e091f", "InfoSheetId": 1 }
text/html
Sample:
{"MediaId":1,"AddedBy":"sample string 2","Comment":"sample string 3","AddedDate":"2024-12-21T06:26:47.5077043+00:00","Data":"sample string 5","FileName":"sample string 6","ConsultationLabId":1,"HospitalDayLabId":1,"PetDataId":1,"PracticeId":7,"Key":"15e62930-4752-4c72-8b89-b0d75b5e091f","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:26:47.5858157+00:00", "Data": "sample string 5", "FileName": "sample string 6", "ConsultationLabId": 1, "HospitalDayLabId": 1, "PetDataId": 1, "PracticeId": 7, "Key": "5a048c9d-cf4b-4a67-961d-1d7bbd2a769b", "InfoSheetId": 1 }
text/html
Sample:
{"MediaId":1,"AddedBy":"sample string 2","Comment":"sample string 3","AddedDate":"2024-12-21T06:26:47.5858157+00:00","Data":"sample string 5","FileName":"sample string 6","ConsultationLabId":1,"HospitalDayLabId":1,"PetDataId":1,"PracticeId":7,"Key":"5a048c9d-cf4b-4a67-961d-1d7bbd2a769b","InfoSheetId":1}
application/xml
Sample:
text/xml
Sample: