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": "a1c27c90-39e4-4191-8d07-517f84fe33ba",
  "ParentId": "c0b63c97-0106-435a-bf0b-f921d648aacc",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "049f77b2-7064-4edc-b8b7-cd6b96311455",
      "10489186-493c-4999-b807-adfb5f08012e"
    ],
    "Companies": [
      "af80451e-1379-4d20-8cbc-2e9df3a25d81",
      "11297d33-ee6d-4865-9b10-a1f29d1e1cb4"
    ],
    "Groups": [
      "5d4e4381-6fac-4ac1-a526-3e757f2ba8d8",
      "f3e854bc-9aec-4263-87cb-19788b0ef02b"
    ],
    "Opportunities": [
      "6dc5d3ed-4928-454b-b72a-e697c7031599",
      "34b2de76-e16b-453a-b475-84e3f26d0173"
    ]
  }
}

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:
"0ad8a66e-a516-4508-b5ac-2aecf2422eb9"