POST web/Entity/RelatedEntity

Request Information

URI Parameters

None.

Body Parameters

SaveRelatedEntity
NameDescriptionTypeAdditional information
AddRelatedEntity

AddRelatedEntity

None.

Request Formats

application/json, text/json

Sample:
{
  "addrelatedentity": {
    "relationship_id": "sample string 1",
    "remarks": "sample string 2",
    "entity": {
      "value": "sample string 1",
      "id": 2
    },
    "target": {
      "value": "sample string 1",
      "id": 2
    }
  }
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SaveRelatedEntity'.

application/xml

Sample:

An exception has occurred while using the formatter 'CustomXmlFormatter' to generate sample for media type 'application/xml'. Exception message: Cannot access a closed Stream.

text/xml

Sample:

An exception has occurred while using the formatter 'CustomXmlFormatter' to generate sample for media type 'text/xml'. Exception message: Cannot access a closed Stream.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.