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": "df981b6f-b8a1-49c2-bff1-2aa32b89d645",
"chartType": 2,
"chartId": "a2c68c95-333a-499b-b531-4966ac8a9afe",
"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>a2c68c95-333a-499b-b531-4966ac8a9afe</ChartId> <ChartType>2</ChartType> <Name>sample string 3</Name> <RelationId>df981b6f-b8a1-49c2-bff1-2aa32b89d645</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>