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": "05ef0ea0-9bad-4d4c-a6de-0b9e97366e45",
  "ParentId": "0e644dc8-e927-4a2c-af83-e0e7f91de8c0",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "d0652e17-681f-4e8b-9d0c-fcca375e9a79",
      "0a7cdc37-5753-451c-b16a-d14e00ff6cf8"
    ],
    "Companies": [
      "44af9e1e-881b-4b27-bb67-ca80276defcb",
      "3772fce1-efe5-4059-acda-d61d96a8002b"
    ],
    "Groups": [
      "1f6d73cd-7cdf-40f6-b98f-c7999b7ecacb",
      "8d984024-a9b3-40d0-9810-fba3c5d534f7"
    ],
    "Opportunities": [
      "72606ad5-dc1a-4614-b451-c2d78034951e",
      "c3148f61-8e09-43dd-a064-33a4db55d964"
    ]
  }
}

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:
"e1ead74f-c385-412c-af07-5ecda4f1d847"