PUT api/screen/category/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
ScreenCategory| Name | 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": "7e1fd7f4-d7e0-4bae-9ec7-1ea51a7273b6",
"isTemplate": true,
"name": "sample string 3",
"order": 4,
"dateCreated": "2025-11-15T04:24:01.4064673+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>7e1fd7f4-d7e0-4bae-9ec7-1ea51a7273b6</CategoryId> <CreatedBy>sample string 6</CreatedBy> <DateCreated>2025-11-15T04:24:01.4064673+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
ApiResult| Name | 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>