POST api/Lookups?medicationCategoryId={medicationCategoryId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| medicationCategoryId | integer |
Required |
Body Parameters
Collection of MedicationCategoryViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ParentId | integer |
None. |
|
| Name | string |
None. |
|
| Children | Collection of MedicationCategoryViewModel |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"id": 1,
"parentId": 1,
"name": "sample string 2",
"children": []
},
{
"id": 1,
"parentId": 1,
"name": "sample string 2",
"children": []
}
]
text/html
Sample:
[{"id":1,"parentId":1,"name":"sample string 2","children":[]},{"id":1,"parentId":1,"name":"sample string 2","children":[]}]
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
MedicationCategoryViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ParentId | integer |
None. |
|
| Name | string |
None. |
|
| Children | Collection of MedicationCategoryViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"parentId": 1,
"name": "sample string 2",
"children": []
}
text/html
Sample:
{"id":1,"parentId":1,"name":"sample string 2","children":[]}
application/xml
Sample:
text/xml
Sample: