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": "c3f128ae-3be6-49be-a25e-4149e33560f4",
  "ParentId": "35bd5463-c00b-4c6b-834b-05515d707e90",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "7c19b721-a9d4-4b7c-9066-e82d88237621",
      "1e55e530-5ab0-427b-ac5d-ce7046c66d0d"
    ],
    "Companies": [
      "dd7a988f-b48f-4f0e-b5e2-053ac3ed2b80",
      "06c1b7a0-a479-4aaf-8851-e765406669fd"
    ],
    "Groups": [
      "48130701-0a60-456f-aaf0-0aa1975533fd",
      "eb8ab24d-f956-4ddf-b908-1ef7a419047c"
    ],
    "Opportunities": [
      "d20df8f9-a6ad-4b4b-a94a-02f34f3c291e",
      "3b3b3dd5-177b-453b-880c-382ccff01dd2"
    ]
  }
}

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:
"7ec43a8f-6b82-4461-bcb6-57d7cd665e7f"