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": "1205f10c-fc5f-43ff-b9ca-ac47f8cd92d0",
  "ParentId": "5dd24bee-189d-48fc-a82a-b695c5af1c45",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "8e55d60a-f662-4229-ba3b-570c36c6d521",
      "27ebe48e-5c7e-48d8-8877-2f8eb0422a40"
    ],
    "Companies": [
      "3cd43967-7a00-4e24-a2bd-1f45c4cc188a",
      "4749ee3d-15b8-451b-9d98-ae7aef162a32"
    ],
    "Groups": [
      "18901b54-a920-4773-b008-f580611648a0",
      "c1d581ae-fbee-4af6-bc24-01f6167bf205"
    ],
    "Opportunities": [
      "33a736b3-e7d6-485c-8ba0-bb0e371daaf7",
      "f6d73815-fb34-404a-b3f7-999ad9e63576"
    ]
  }
}

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:
"8b828944-d1be-4d0f-b907-11b82e64c53c"