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": "30309ee9-7054-47ff-aafe-a56274610466",
  "ParentId": "cb34f63d-c949-43cb-9e86-b9d92efbd14d",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "724c9892-3fc5-4e06-89fe-ea14e6bbf463",
      "50ff1020-93fb-442e-b973-e6fc9ed84be0"
    ],
    "Companies": [
      "823631e4-3cb3-479c-95fb-2f2a2607ea55",
      "ead36ba3-61ca-45ee-97a7-1328dce9c90f"
    ],
    "Groups": [
      "7f5cb68d-f46f-4089-ad1c-f0f218395e19",
      "b560f902-e6e1-4ac7-934f-c0d0d66ca360"
    ],
    "Opportunities": [
      "3b1d43c2-9f97-4904-80cc-0cc6eb391e24",
      "486c7f50-5382-47bd-afae-61aeecaa522d"
    ]
  }
}

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:
"f56a0ce7-a0c6-46c6-946c-dd8122b655fa"