PUT api/screen/info/{screenId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
screenId | globally unique identifier |
Required |
Body Parameters
ScreenName | Description | Type | Additional information |
---|---|---|---|
ScreenId | globally unique identifier |
None. |
|
CategoryId | globally unique identifier |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
Width | integer |
None. |
|
Height | integer |
None. |
|
ScaleMode | string |
None. |
|
BackgroundColor | string |
None. |
|
BackgroundImage | string |
None. |
|
Thumbnail | string |
None. |
|
Cover | string |
None. |
|
Content | string |
None. |
|
Order | integer |
None. |
|
IsTemplate | boolean |
None. |
|
DateCreated | date |
None. |
|
CreatedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "screenId": "1e7239a0-20cc-404f-a5cb-586eef2f830b", "categoryId": "c2e40f25-3f03-43ac-a0ed-0232a4b91439", "name": "sample string 3", "description": "sample string 4", "width": 5, "height": 6, "scaleMode": "sample string 7", "backgroundColor": "sample string 8", "backgroundImage": "sample string 9", "thumbnail": "sample string 10", "cover": "sample string 11", "content": "sample string 12", "order": 13, "isTemplate": true, "dateCreated": "2025-04-19T23:07:45.5062693+08:00", "createdBy": "sample string 16" }
application/xml, text/xml
Sample:
<Screen xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Margin.Core.Data.Entities"> <BackgroundColor>sample string 8</BackgroundColor> <BackgroundImage>sample string 9</BackgroundImage> <CategoryId>c2e40f25-3f03-43ac-a0ed-0232a4b91439</CategoryId> <Content>sample string 12</Content> <Cover>sample string 11</Cover> <CreatedBy>sample string 16</CreatedBy> <DateCreated>2025-04-19T23:07:45.5062693+08:00</DateCreated> <Description>sample string 4</Description> <Height>6</Height> <IsTemplate>true</IsTemplate> <Name>sample string 3</Name> <Order>13</Order> <ScaleMode>sample string 7</ScaleMode> <ScreenId>1e7239a0-20cc-404f-a5cb-586eef2f830b</ScreenId> <Thumbnail>sample string 10</Thumbnail> <Width>5</Width> </Screen>
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>