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": "dfdf313c-716f-44a6-a2a7-45c6d934b7ad",
  "ParentId": "e5f64e3d-273f-4a3d-ab80-87619a096cb1",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "469643c1-1cdc-42f9-984b-f26f5a86d221",
      "850c4441-09ef-493c-a273-5794fcfaa1e3"
    ],
    "Companies": [
      "5c7885e8-83aa-4176-a6a9-12716a622585",
      "d31f86c3-2326-4d1f-b8ad-40edef32512a"
    ],
    "Groups": [
      "b980d166-b701-4562-86dc-9467b6060ae6",
      "913f2252-a645-4f74-a2e9-e7cadabee05c"
    ],
    "Opportunities": [
      "8a576ffc-a6a3-4f93-afae-d9eab4d1571b",
      "cd946a40-18db-4f28-b4fb-5c8811371415"
    ]
  }
}

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:
"7b68de6e-c3c1-45e1-84de-6c564f49696e"