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": "a09f139f-83b6-4f16-9c2e-ee7cef0a6fe9",
  "ParentId": "fde4712d-fa75-40ea-8fde-e33ae39ffc07",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "b6788e23-f2bb-4e00-aad2-aff6033b7f99",
      "74b3af3e-e93a-4256-9df6-c36f172b2728"
    ],
    "Companies": [
      "6babfcab-8f64-4c68-aa3f-58516313719a",
      "c72ce202-0f03-4913-90f1-3e377e8029d5"
    ],
    "Groups": [
      "a6bcc680-8db0-444a-9a13-1c910982d9ca",
      "141244cb-cba7-43fa-91ac-da45664740bc"
    ],
    "Opportunities": [
      "4ee33a1f-02d9-46c5-b789-19482cc87d5b",
      "545ed673-c177-4f9f-9f62-e53ceadffa9e"
    ]
  }
}

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:
"45dabd59-ca19-449d-9430-806d26159787"