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": "7da4ded0-6e55-4e90-ba25-e16214ee8663",
  "ParentId": "7d0b7913-0e99-4cef-9b62-75eb8ba37001",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "6aba63fb-c9ae-4ad2-869f-04dd19b1577b",
      "874e6101-a8de-47e3-8350-353c7c824067"
    ],
    "Companies": [
      "179cd8f2-7dcd-4f9f-b1aa-d1638570e7a3",
      "a46763ba-fe76-4a41-bed8-c1c3896d6046"
    ],
    "Groups": [
      "85215478-e8fd-495c-af10-e80aa0cf70dc",
      "9ecf2b0d-a10d-4fc6-aeb5-9d0e19cb2743"
    ],
    "Opportunities": [
      "dea1e34e-27ba-4dd2-b69d-ef804d1c9cb8",
      "671a6965-2b54-4b71-bab7-b616dc69fae3"
    ]
  }
}

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:
"aec27afd-621b-40e8-8b2a-fdb8376224ac"