PATCH api/drugprofiles/{drugprofileid}/drugprofiledosageforms/{id}
This endpoint allows modification of a global drug profile DosageForm.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| drugprofileid |
The ID of the drug profile. |
integer |
Required |
| id |
The ID of the drug profile DosageForm to update. |
integer |
Required |
Body Parameters
The JSON Patch document containing the changes.
JsonPatchDocument| Name | Description | Type | Additional information |
|---|---|---|---|
| Operations | Collection of Operation |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/json-patch+json
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Returns the updated drug profile DosageForm model if successful; otherwise, returns an error message.
DrugProfileDosageFormModel| Name | Description | Type | Additional information |
|---|---|---|---|
| DosageForm |
Gets or sets the Dosage Form for the associated drug profile |
string |
None. |
| Url |
Gets or sets the link representing a link back to the resource |
string |
None. |
| ID |
Gets or sets the identifier for the resource |
integer |
None. |
Response Formats
application/json, text/json, application/json-patch+json
Sample:
{
"url": "sample string 3",
"id": 4,
"dosageForm": "sample string 2"
}