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": "9cf4f8c9-79f2-42ea-b759-d2968e5f03fa",
"chartType": 2,
"chartId": "6aa9060f-b9ed-4f0c-986e-7ac30f8dc13d",
"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>6aa9060f-b9ed-4f0c-986e-7ac30f8dc13d</ChartId> <ChartType>2</ChartType> <Name>sample string 3</Name> <RelationId>9cf4f8c9-79f2-42ea-b759-d2968e5f03fa</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>