POST Setup/Medication?validateOnly={validateOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
validateOnly

boolean

Default value is False

Body Parameters

MedicationDTO
NameDescriptionTypeAdditional 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:44:22.7933383+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 7:44:22 AM"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T07:44:22.7933383+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 7:44:22 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:44:22.7933383+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:44:22.7933383+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�_e3W�v��)j�A<�K[�&�v3��“y�|[�X��m:�?��������(����-�"?j̹Q��s�6*���3
9H��}vh�|�Y+�9K8�� ��Gbu��j���,i�=7���ـ�C��^��]E��s��-��T�<.�ߏ���D��
�S
g]�����IT�3F��-HTQ	�rx
C
T���v c�
1PB�AA�Z��*F��hR�帼 ����_/�;cx:ι�9�tX
ӊ��ή`�C�}X���9��'�t}zQ�������\�

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.