POST api/Lookups
Request Information
URI Parameters
None.
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
Collection of 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": []
},
{
"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: