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": "6535d0a3-53ea-4ab4-9562-a675245cb190",
  "ParentId": "434ce083-5ed7-44c9-b7fa-f09f3f9c73e7",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "f4569a94-6cde-4668-81a3-c1470a9589f9",
      "bd8c28ec-9100-4051-be3a-ff52891bee9f"
    ],
    "Companies": [
      "a789ec31-43bd-4f3e-a7f2-e32651bf39e9",
      "46f914ca-aa99-4646-b7e4-b92ad3b98933"
    ],
    "Groups": [
      "68dc10af-c5de-4323-91fa-df6430cb0a31",
      "bf1c4dad-2805-4580-b63a-2c3c3d3968f6"
    ],
    "Opportunities": [
      "df620fe4-3620-42a5-bce5-83a088306c06",
      "2a160734-d8ba-43d0-b574-c9ebfee608da"
    ]
  }
}

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:
"c7f18ce0-aede-4107-86f4-b1350febd136"