POST api/Opportunities

Create a new Opportunity Record.

Request Information

URI Parameters

None.

Body Parameters

The Opportunity record data must be passed in through the body of the request in Json format. Set Content-Type header to application/json

MutableEntityExtended
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

ParentId

This field will only include data when working with Group records.

globally unique identifier

None.

Fields

Dictionary of string [key] and Object [value]

None.

LinkedEntities

LinkedEntities

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "de3c8432-8a69-41d3-85f1-2cb55654518f",
  "ParentId": "9a171fad-d3c8-4897-bcfb-daab137f827f",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "f4467e42-c98d-46f2-813a-13bd37544d98",
      "80907c44-ba5c-46d4-b548-cf1a22f5eb9c"
    ],
    "Companies": [
      "d38aecfd-6b53-412f-88e1-133ba27ed4e8",
      "6184ec15-fed6-4342-8fcb-3b12ec17e853"
    ],
    "Groups": [
      "49a0dc93-0f46-4cb6-9b1c-203ecd7c4560",
      "f99cbca7-9591-4962-8aef-1551ffb57e59"
    ],
    "Opportunities": [
      "44f0a495-267a-4553-9b7d-c9d01ebc9c1e",
      "6a6413f0-8fe4-45bc-880e-0130b4bf1cce"
    ]
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

This endpoint returns the GUID of the Group record once it is created.

globally unique identifier

Response Formats

application/json, text/json

Sample:
"652282c8-8185-4717-bf21-ffeae4a50d84"