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": "8bd1fccf-49c6-427a-9817-9b0269b684d6",
  "ParentId": "91bcebd4-9d93-4cd7-aabc-ec0bc547539e",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "b9677f37-8d48-47ff-8e66-e2babfe1d2d3",
      "fe11a655-0351-40b8-b799-aea54c1e996f"
    ],
    "Companies": [
      "0a130835-219d-4cff-a031-7dc902c67706",
      "0b151c6c-b17e-4c28-a14d-f435e2939d7d"
    ],
    "Groups": [
      "24b705a4-7e26-4084-bb74-a46aa44d60ad",
      "47f90f93-c656-4d98-ba8f-9555d5038373"
    ],
    "Opportunities": [
      "f1312b89-9cae-44a4-8c87-8db4ebc739a0",
      "2fee98ef-77c0-4dc1-9965-1fb1b97b112a"
    ]
  }
}

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:
"d05bddc1-5c26-49bf-8be1-b29531b474ae"