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": "93135efb-4c78-4978-9242-ad4baf97fcd9",
  "ParentId": "42dda024-32ad-476c-9f26-7f8b6a228caa",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "9c11d253-4672-4197-ad91-b5ef8d40dc76",
      "2eab5caf-2717-4fa3-a876-3aa01cbde3a7"
    ],
    "Companies": [
      "ff09ad53-206d-44fe-9387-46c19d4db2dc",
      "000f34b6-6b0c-40b1-9ece-b90eb92ef511"
    ],
    "Groups": [
      "4f2c5e5e-46a6-41ff-98a5-748a6ccd1b07",
      "d23736e3-efec-4aea-82c9-ec831123b87d"
    ],
    "Opportunities": [
      "4b8c0b75-b206-4637-903d-063115f7ffaa",
      "8ae488b7-b697-4fc9-b4d1-fa6e5c277c55"
    ]
  }
}

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:
"5d0342b5-0c84-4d65-be12-8bea5997d50a"