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": "95d4c877-3936-46e4-b108-0ba15b3cf7bc",
  "ParentId": "66cfeb64-9e77-4823-bcb2-9876f87fc5bb",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "37f9aa00-dd7f-4b21-9a22-eb9ac2aecc8c",
      "fc0dd678-f516-4854-8fe8-d2ca3eabc3fd"
    ],
    "Companies": [
      "561e1438-a878-42bd-85c5-4ea0e4ef5dd5",
      "23b8a695-73ca-44cc-9268-02a333ec23c7"
    ],
    "Groups": [
      "1bd34661-e153-4c1c-b172-90bc85c7ab7f",
      "2bb78568-25d3-40dc-a936-d3f5561e226a"
    ],
    "Opportunities": [
      "365931de-77c0-4952-a19e-2c35e3fdc1eb",
      "be0bda79-c963-42f3-b4b8-323d7c91356d"
    ]
  }
}

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:
"690a0b4b-ce42-41c1-abdb-3a02841c0bfd"