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": "369346fe-8c57-4bfe-a798-180281802e04",
  "ParentId": "94f1ce7f-4f80-4130-be1e-d17306321a5b",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "b27d972c-17f5-449a-ad24-2528c4f51b51",
      "d4e7e7e1-3bf1-44b3-aabf-68714a3b16d1"
    ],
    "Companies": [
      "de17ae82-5e8f-4c49-9566-691d6963865f",
      "ea2d1ccd-142b-4100-8d3c-7e9ca7f2d49f"
    ],
    "Groups": [
      "a517fe82-4f46-433b-ac33-a5da09cea843",
      "78ce06e3-29d7-49ab-9a03-9da8032ac8fd"
    ],
    "Opportunities": [
      "914e86f8-f791-426a-ba7b-8a7e4cbb034b",
      "f680014c-313d-4a60-a3b2-07b7163779e9"
    ]
  }
}

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:
"af8960eb-3337-41e5-9b89-7c10bfa91478"