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": "1787ecb0-295a-4e1b-b1c6-df93f379c4f4",
  "ParentId": "0fc1efb8-9ff0-4bc8-b66d-77023569158b",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "26a4e3c1-ca74-40fa-9846-8bb8fc2e42d5",
      "f6ebafb7-5ba0-4f54-b6f1-af35c1038f78"
    ],
    "Companies": [
      "e53e0516-182b-4ad9-8a3a-2a8512af8754",
      "39b8d70f-1ba9-4e45-84f2-2b6d31e0e5e6"
    ],
    "Groups": [
      "41494e00-46df-43e1-bf98-945c0ec55251",
      "3c8daeb8-3557-4ede-943d-96a2d4eacd90"
    ],
    "Opportunities": [
      "72c97354-0aca-4f6c-b995-336737b99ee3",
      "7b10667e-e887-49a4-8734-3b28027d568d"
    ]
  }
}

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:
"076f1bca-9714-430c-9919-367390e77d6f"