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": "5e4fbe4e-d199-490d-9314-e3615960f449",
  "ParentId": "1988634f-4517-4f93-a91d-b739b661a66f",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "6623adc7-e9ef-471e-bf57-ca47a7b964dc",
      "244d388b-11be-4fe3-b1ee-baa0f9e8d2e1"
    ],
    "Companies": [
      "c35b5ce8-4a7b-4178-b444-331682f02b20",
      "82f65d0d-e563-4989-90ea-aeaedcdebdbf"
    ],
    "Groups": [
      "3037d482-6075-4723-b0b2-c04d64661893",
      "c46b9610-2a4f-41be-a074-9f84439df516"
    ],
    "Opportunities": [
      "b75241cf-7429-4e51-9dcb-182359d49771",
      "ca82dafc-7514-4cd6-bcbc-a94f1d6ef616"
    ]
  }
}

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:
"284baeb1-5c95-4dfb-bc35-8d8c740e042e"