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": "103d9cf0-8742-4345-8591-ea57393079f9",
  "ParentId": "a0af1d5b-ee06-490a-acf4-a48e5a99fa3a",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "18186744-df34-4e22-b175-20bf38d90252",
      "b8f0dbbe-a8d5-4494-8bc7-f6120f1f10ce"
    ],
    "Companies": [
      "d84e8a68-acda-44dc-b801-090b5b179d9c",
      "01e88a77-890c-4044-adc5-8f0965cf55ea"
    ],
    "Groups": [
      "6636d0a6-78f9-416c-a1f6-77c58eebeaf3",
      "0d21a0ea-05ea-4d8e-afe2-6c3dd05c01a3"
    ],
    "Opportunities": [
      "4d4f1c13-f8ea-4b84-a35a-f81625a2314f",
      "c90fc46d-491c-47b9-bc2e-54957787c5a7"
    ]
  }
}

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:
"3a080210-2895-4922-88da-175e85569d7a"