POST api/relation/relation-rename
Request Information
URI Parameters
None.
Body Parameters
RelationModelName | 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": "ae64fe6b-ae08-4f8e-995b-f503477df366", "chartType": 2, "chartId": "6b9b04d9-db28-46b6-a715-3773a56bd829", "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>6b9b04d9-db28-46b6-a715-3773a56bd829</ChartId> <ChartType>2</ChartType> <Name>sample string 3</Name> <RelationId>ae64fe6b-ae08-4f8e-995b-f503477df366</RelationId> <TabType>sample string 4</TabType> </RelationModel>
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>