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": "222c7ce8-4da8-43f4-8baa-e22cdd838142",
  "ParentId": "c3f75b46-8b68-4e62-9b97-49cdeb4e57fa",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "12359918-a0c6-4358-a69e-c61b42644a7f",
      "652f3a5e-4c04-4cbe-bc5c-020e766a7288"
    ],
    "Companies": [
      "783f7cba-f027-4a6c-b9ae-fdd6ba2488b0",
      "6c336280-5cf4-46c6-adbc-a7c5cb3f8fb7"
    ],
    "Groups": [
      "68c347bf-f7d9-4c6f-93e3-91d29e17b402",
      "a79aeb6a-67e5-465b-9976-d723d30db79f"
    ],
    "Opportunities": [
      "ef4922e8-4416-4ca9-8b65-00be88541d05",
      "e9c3fd0c-be3e-4519-bff0-9fbd9c8785b0"
    ]
  }
}

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:
"c7a07c65-3c9e-4606-803c-5727e13ce602"