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": "f7c0c452-4ff5-478e-acc5-ad644a94d5cd",
  "ParentId": "8809befb-1e38-4ae5-97c3-18b447bcc3ac",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "7a606842-1626-4767-bb7a-53d3da5f6bb7",
      "c3a9f77f-4d4c-436c-8fa2-d538725381cd"
    ],
    "Companies": [
      "76608d45-ae66-4080-9ea3-2ac9484739ec",
      "57a139c4-35d9-47c2-ba44-7c5d29e7d715"
    ],
    "Groups": [
      "29c0a9e5-c4f6-4b85-b84e-2b3fb4c7e133",
      "91246d28-864e-47f2-a888-e5a86bb86d84"
    ],
    "Opportunities": [
      "97d7cad2-87c1-4985-b51f-c8e38f363b61",
      "92989ff1-f248-4ab0-b7aa-07db5a2b6e6d"
    ]
  }
}

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:
"bac14a13-2329-46bc-938e-f5372df318d7"