POST api/relation/relation-rename

Request Information

URI Parameters

None.

Body Parameters

RelationModel
NameDescriptionTypeAdditional 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": "468fd7bd-5262-4b5e-9b69-a1c055ba4246",
  "chartType": 2,
  "chartId": "28840f96-f44a-497b-a116-daa44a95f755",
  "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>28840f96-f44a-497b-a116-daa44a95f755</ChartId>
  <ChartType>2</ChartType>
  <Name>sample string 3</Name>
  <RelationId>468fd7bd-5262-4b5e-9b69-a1c055ba4246</RelationId>
  <TabType>sample string 4</TabType>
</RelationModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResult
NameDescriptionTypeAdditional 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>