POST api/relation/relation-rename
Request Information
URI Parameters
None.
Body Parameters
RelationModel| Name | Description | Type | Additional information |
|---|---|---|---|
| RelationId | globally unique identifier |
None. |
|
| ChartType | integer |
None. |
|
| ChartId | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| TabType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"relationId": "e755708a-d260-46d9-a223-3a1e4c6c9e2b",
"chartType": 2,
"chartId": "4f5a7f69-2097-4b82-b496-f229d2dac02c",
"name": "sample string 3",
"tabType": "sample string 4"
}
application/xml, text/xml
Sample:
<RelationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Margin.Controllers"> <ChartId>4f5a7f69-2097-4b82-b496-f229d2dac02c</ChartId> <ChartType>2</ChartType> <Name>sample string 3</Name> <RelationId>e755708a-d260-46d9-a223-3a1e4c6c9e2b</RelationId> <TabType>sample string 4</TabType> </RelationModel>
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>