POST api/DynamicPromptPage/SaveMasterCategory
Request Information
URI Parameters
None.
Body Parameters
SaveCategoryRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CategoryDto | Collection of CategoryDTO |
None. |
|
| UserId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"categoryDto": [
{
"id": 1,
"name": "sample string 2",
"isActive": true,
"scribeManId": 1
},
{
"id": 1,
"name": "sample string 2",
"isActive": true,
"scribeManId": 1
}
],
"userId": "sample string 1"
}
application/xml, text/xml
Sample:
<SaveCategoryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ScribingSoftware.Model.DTO">
<CategoryDto>
<CategoryDTO>
<Id>1</Id>
<IsActive>true</IsActive>
<Name>sample string 2</Name>
<ScribeManId>1</ScribeManId>
</CategoryDTO>
<CategoryDTO>
<Id>1</Id>
<IsActive>true</IsActive>
<Name>sample string 2</Name>
<ScribeManId>1</ScribeManId>
</CategoryDTO>
</CategoryDto>
<UserId>sample string 1</UserId>
</SaveCategoryRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.