POST api/journal/category-subcategory-list
Request Information
URI Parameters
None.
Body Parameters
CategoryRequestModelName | Description | Type | Additional information |
---|---|---|---|
childids | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "childids": "sample string 1" }
application/xml, text/xml
Sample:
<CategoryRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iCareApiModel"> <childids>sample string 1</childids> </CategoryRequestModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of JournalCategoryModelName | Description | Type | Additional information |
---|---|---|---|
PK_ID | integer |
None. |
|
Category_Name | string |
None. |
|
journalSubCategories | Collection of JournalSubCategoryModel |
None. |
Response Formats
application/json, text/json
Sample:
[ { "PK_ID": 1, "Category_Name": "sample string 2", "journalSubCategories": [ { "PK_ID": 1, "Category_Name": "sample string 2", "OrgCategoryId": 3, "ParentCategoryID": 4 }, { "PK_ID": 1, "Category_Name": "sample string 2", "OrgCategoryId": 3, "ParentCategoryID": 4 } ] }, { "PK_ID": 1, "Category_Name": "sample string 2", "journalSubCategories": [ { "PK_ID": 1, "Category_Name": "sample string 2", "OrgCategoryId": 3, "ParentCategoryID": 4 }, { "PK_ID": 1, "Category_Name": "sample string 2", "OrgCategoryId": 3, "ParentCategoryID": 4 } ] } ]
application/xml, text/xml
Sample:
<ArrayOfJournalCategoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iCareApiModel"> <JournalCategoryModel> <Category_Name>sample string 2</Category_Name> <PK_ID>1</PK_ID> <journalSubCategories> <JournalSubCategoryModel> <Category_Name>sample string 2</Category_Name> <OrgCategoryId>3</OrgCategoryId> <PK_ID>1</PK_ID> <ParentCategoryID>4</ParentCategoryID> </JournalSubCategoryModel> <JournalSubCategoryModel> <Category_Name>sample string 2</Category_Name> <OrgCategoryId>3</OrgCategoryId> <PK_ID>1</PK_ID> <ParentCategoryID>4</ParentCategoryID> </JournalSubCategoryModel> </journalSubCategories> </JournalCategoryModel> <JournalCategoryModel> <Category_Name>sample string 2</Category_Name> <PK_ID>1</PK_ID> <journalSubCategories> <JournalSubCategoryModel> <Category_Name>sample string 2</Category_Name> <OrgCategoryId>3</OrgCategoryId> <PK_ID>1</PK_ID> <ParentCategoryID>4</ParentCategoryID> </JournalSubCategoryModel> <JournalSubCategoryModel> <Category_Name>sample string 2</Category_Name> <OrgCategoryId>3</OrgCategoryId> <PK_ID>1</PK_ID> <ParentCategoryID>4</ParentCategoryID> </JournalSubCategoryModel> </journalSubCategories> </JournalCategoryModel> </ArrayOfJournalCategoryModel>