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": "45ceb5f9-20fd-4862-b334-739b6a78c99c",
  "ParentId": "fc126700-9b68-4d9a-b0c3-317695a1d2ee",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "632ae623-0d0c-4e7a-87cf-4e52c1cc2947",
      "6c562009-36ff-4ccd-8809-87d50012205e"
    ],
    "Companies": [
      "aebc2fda-dbad-472e-83de-31d59e9897cf",
      "d8d2b474-59ed-4503-a496-5b43038cef33"
    ],
    "Groups": [
      "cd06a74d-0c45-46e0-a7ac-43a14b33e35e",
      "640533c4-3014-44bf-a637-f59723faa835"
    ],
    "Opportunities": [
      "7373b207-5d15-410d-ad26-24f5e583aa86",
      "43804100-9b06-4c98-ab24-d73b57c875ca"
    ]
  }
}

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:
"3d5b561f-915f-4bbf-870d-7cecb8eea2b0"