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": "130bc069-9fcf-48e5-9492-a9d66b21ca8d",
  "ParentId": "55af6e87-5bf4-468c-bb2f-f8961773ebdd",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "1d407e3a-9da7-43cb-ada2-eda03937487d",
      "8b7fe577-0146-476e-8479-9943464be8f0"
    ],
    "Companies": [
      "fb0c98ff-e83b-4d10-8101-0d74c215da7f",
      "0df5d89d-20a6-495b-ba9a-d73ad2d149e1"
    ],
    "Groups": [
      "ddc9c625-2266-4f11-b45f-27a72beeab17",
      "2ceceb70-44c8-4d3c-946a-e43345a6c864"
    ],
    "Opportunities": [
      "708832d3-c7f5-4fce-8ded-fd0ec9a11d49",
      "f910be9f-b5d4-4266-b064-e88809e374c2"
    ]
  }
}

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:
"1b166c93-3274-4bf6-aa1c-50947a850cd7"