PUT api/screen/category/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
ScreenCategoryName | Description | Type | Additional information |
---|---|---|---|
CategoryId | globally unique identifier |
None. |
|
IsTemplate | boolean |
None. |
|
Name | string |
None. |
|
Order | integer |
None. |
|
DateCreated | date |
None. |
|
CreatedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "categoryId": "f67d1f3e-fe7d-4267-8f4b-e54b6ce07838", "isTemplate": true, "name": "sample string 3", "order": 4, "dateCreated": "2025-04-19T23:02:29.1522868+08:00", "createdBy": "sample string 6" }
application/xml, text/xml
Sample:
<ScreenCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Margin.Core.Data.Entities"> <CategoryId>f67d1f3e-fe7d-4267-8f4b-e54b6ce07838</CategoryId> <CreatedBy>sample string 6</CreatedBy> <DateCreated>2025-04-19T23:02:29.1522868+08:00</DateCreated> <IsTemplate>true</IsTemplate> <Name>sample string 3</Name> <Order>4</Order> </ScreenCategory>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResultName | Description | Type | Additional information |
---|---|---|---|
Status | ApiResultStatus |
None. |
|
Data | Object |
None. |
|
Message | string |
None. |
|
Code | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "status": "success", "data": {}, "message": "sample string 2", "code": 1 }
application/xml, text/xml
Sample:
<ApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Margin.Models"> <Code>1</Code> <Data /> <Message>sample string 2</Message> <Status>Success</Status> </ApiResult>