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": "018bfb78-3c2b-4240-a1ac-a8de4e321eed",
  "ParentId": "189d2198-f082-4dba-aee8-642dc6b27dcf",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "2d7bfacc-377a-42c1-94b5-6a31e06d885c",
      "5d7341b0-6e27-41f7-818a-1c456e89af11"
    ],
    "Companies": [
      "70d9d489-3670-46ce-9aef-43f4e44b46f6",
      "4efef891-d025-4344-af5f-d4958cd2fe1e"
    ],
    "Groups": [
      "0d1f9db9-bce9-48c6-bd10-540a04e13137",
      "744c648b-983a-4014-9a9d-9f68d622a3ea"
    ],
    "Opportunities": [
      "1b19f8fc-0364-4c8b-b355-f2ad125931cf",
      "22dd011d-432f-4200-a30d-80c682a2d7ca"
    ]
  }
}

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:
"59bd4dad-bc3e-45ca-9cd1-675dd5af6b0f"