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": "1a357916-27dc-4942-bd89-577a149ac6aa",
  "ParentId": "73c53872-1d6d-4373-b132-0cb41a5b8dbf",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "4ccbd81c-a896-4d1e-b134-ac0501004585",
      "3696f3a7-8cb4-4eae-ab2f-d97e4499d1d9"
    ],
    "Companies": [
      "d6f7a581-7aae-48b5-8e5a-96990c3624d5",
      "df81727e-3e44-4e45-9bf5-b5d9b845d641"
    ],
    "Groups": [
      "44593172-0284-4910-9f2b-f3577f936855",
      "04029320-76b1-472e-842c-e4c68e2ee73e"
    ],
    "Opportunities": [
      "34808a86-7bd8-4093-b20d-49bbc5e22603",
      "8d16774b-e5a3-4101-8553-0aea87c0ad7b"
    ]
  }
}

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:
"cb8ffb0c-1122-428d-b19f-929ac6721004"