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": "4def16fa-2609-4c40-be05-2baa89e398b3",
  "ParentId": "d8601255-36f7-4587-9b15-f7d43b365e71",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "9cdb0002-15bb-4652-8fc4-bf2333ace9a1",
      "637814f9-aef2-4077-a880-a443e9d28445"
    ],
    "Companies": [
      "7c881fa1-d81d-47c3-b096-954bd6e01652",
      "a97171f8-351e-40c9-9aef-4678103bc262"
    ],
    "Groups": [
      "723c0696-e50c-4c9c-b643-411e02060ed7",
      "50f5e73a-626c-4e8b-8c91-fd39bdc7f46d"
    ],
    "Opportunities": [
      "2e7c0705-98ad-49fc-999c-e56200a71f86",
      "e98eb3fb-cc9a-4969-a270-06c328602f75"
    ]
  }
}

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:
"a93b3c0b-1b30-417e-980b-eaa5f1e7cfe0"