PUT Setup/Medication/{medicationID}?validateOnly={validateOnly}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
medicationID | integer |
Required |
|
validateOnly | boolean |
Default value is False |
Body Parameters
MedicationDTOName | Description | Type | Additional information |
---|---|---|---|
MedicationID | integer |
None. |
|
MedicationName | string |
None. |
|
DrugInformationNumber | string |
None. |
|
MedicationBrandName | string |
None. |
|
MedicationCategory | MedicationCategory |
None. |
|
DrugFamilyEntryID | integer |
None. |
|
WebSite | string |
None. |
|
IsNarcotic | boolean |
None. |
|
IsOTC | boolean |
None. |
|
Teachings | string |
None. |
|
Monograph | string |
None. |
|
Comments | string |
None. |
|
RecordState | RecordState |
None. |
|
Created | AuditDataDTO |
None. |
|
LastUpdated | AuditDataDTO |
None. |
|
DrugFamilyEntryValue | string |
None. |
|
Summary | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "medicationID": 1, "medicationName": "sample string 2", "drugInformationNumber": "sample string 3", "medicationBrandName": "sample string 4", "medicationCategory": 1, "drugFamilyEntryID": 1, "webSite": "sample string 5", "isNarcotic": true, "isOTC": true, "teachings": "sample string 8", "monograph": "sample string 9", "comments": "sample string 10", "recordState": 1, "created": { "dateUtc": "2024-12-04T07:59:43.4923864+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:59:43 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T07:59:43.4923864+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:59:43 AM" }, "drugFamilyEntryValue": "sample string 11", "summary": "sample string 2" }
application/xml, text/xml
Sample:
<MedicationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models"> <Comments>sample string 10</Comments> <Created> <DateUtc>2024-12-04T07:59:43.4923864+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <DrugFamilyEntryID>1</DrugFamilyEntryID> <DrugFamilyEntryValue>sample string 11</DrugFamilyEntryValue> <DrugInformationNumber>sample string 3</DrugInformationNumber> <IsNarcotic>true</IsNarcotic> <IsOTC>true</IsOTC> <LastUpdated> <DateUtc>2024-12-04T07:59:43.4923864+00:00</DateUtc> <UserName>sample string 2</UserName> </LastUpdated> <MedicationBrandName>sample string 4</MedicationBrandName> <MedicationCategory>Medication</MedicationCategory> <MedicationID>1</MedicationID> <MedicationName>sample string 2</MedicationName> <Monograph>sample string 9</Monograph> <RecordState>Active</RecordState> <Teachings>sample string 8</Teachings> <WebSite>sample string 5</WebSite> </MedicationDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/x-compressed-json
Sample:
� ͑�N1�_e3WA��E��5� 省K�mK�ݘ ��<�H���b��z�6���o�L�^^w`�Ԃ���X>8j̹Q��s�mT�j[g@b[��C��k�Za�Y�1���?�7ߔU;�>��Ew�覻��C�g�^���#H�9G���*u�ӯGP\l����')���F����*���l��$���C�<�!�XJ`;��X� R�a^ ]�K6�-�iU��zF# �z��^��t�S-s6ˋ�ف�]��~ �a���%�ɧ>�����/<���,��
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |