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": "e048a9ff-fa88-4a40-a988-a34bfc516b63",
  "ParentId": "aab8c00b-f714-42e9-97bb-e08569b76b43",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "3526c2ab-212b-4084-8bc1-f0157654fe93",
      "e41302f8-77d1-4da9-bbcc-6facb59df15c"
    ],
    "Companies": [
      "7b07bc8e-e768-4cde-9ae4-181705619964",
      "edfb0687-573d-4ec6-836c-c2efd4df4dab"
    ],
    "Groups": [
      "c42dadb8-60f4-468b-b27b-012ac262ecee",
      "a9c20495-2ab1-4ad5-a8a5-62303c26cfe6"
    ],
    "Opportunities": [
      "1dc119d3-72fa-4c9e-addd-416bf503cc38",
      "db8ce1ff-aa65-436e-899c-606ac357aeac"
    ]
  }
}

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:
"7c54f693-d6d7-42d0-a1a4-29b30bbf67bc"