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": "21baa28f-932a-42dc-a449-556c99f479d8",
  "ParentId": "4b68ad47-c215-443a-8503-1f3367e6918d",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "da73cc4f-5f9e-4e5b-8d3e-e8a5768a7cae",
      "79a33749-2c14-4d73-a6f0-2cbd6b7eac3a"
    ],
    "Companies": [
      "632183c4-0263-42ed-a451-1ecefd052e9b",
      "a349659d-cebb-460a-b636-83361b80760d"
    ],
    "Groups": [
      "7ac4c4a6-fa8a-412d-aec8-fe9bb85dcbed",
      "1a7e5cdc-9130-4a2a-ba43-8d5dc1ca7901"
    ],
    "Opportunities": [
      "044a35b0-18a7-4ec6-87d7-627ba9bf72ba",
      "dab7d01a-6172-4e25-b142-df9021badbe8"
    ]
  }
}

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:
"ab4ab69a-abe5-450c-88fc-5e9f042a5280"