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": "d530c0f7-ba76-482b-9061-2130cbcb1660",
  "ParentId": "80321d66-7b98-45f2-ad0a-71340502664b",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "500a0c24-3889-44bd-87d7-ffb00c043513",
      "fc51fdaa-01ba-48ae-bcb3-e69fb5e012b9"
    ],
    "Companies": [
      "ab954b8f-ab36-4301-b71c-55e3ced37c8c",
      "723a18ef-5fe7-43bd-ae99-12ff71e6f882"
    ],
    "Groups": [
      "65085b97-0cfc-48e2-9814-5ee4f16b7619",
      "06815152-61e1-4a39-a043-01aa66b0462e"
    ],
    "Opportunities": [
      "f553b383-4612-436f-be06-a92d9fba9f44",
      "33a04b08-8158-4428-be27-496d5160d1b8"
    ]
  }
}

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:
"8e49f364-77b6-42a2-abec-694cce452cf4"