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": "22acc3bc-7e28-4de4-bd64-85f3a57b4c68",
  "ParentId": "0f7c7e5f-897b-4ba8-a94e-7281aa803fec",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "59f7c31c-4791-45fd-a5de-fe39683d443b",
      "1ed08e04-a464-4012-8a84-076e17d9d441"
    ],
    "Companies": [
      "a39d837d-04bb-4ad0-96ca-8eaac0b31b6b",
      "cdd0958a-4cfa-46f6-9b08-ff99d95fa54e"
    ],
    "Groups": [
      "b635cbf5-bba5-456c-97de-e870a2688809",
      "47c1e41e-f50f-4f69-a0b5-0f340f7b9c8b"
    ],
    "Opportunities": [
      "657c67b0-7466-40fc-882b-b56aed77e18e",
      "101d6577-ce6a-4d74-bbd9-0563a6660753"
    ]
  }
}

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:
"09818908-37a5-40b8-ba49-055a7c7d5d10"