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": "0c3c2826-71bd-417c-8a62-f5bf0ee057e9",
  "ParentId": "453e4fb5-9b8b-4afa-840e-20d0c40dff67",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "43eb00a0-1c1e-47b3-a149-6b4bdbeb9bc6",
      "1caac97f-1a72-4a4d-ac8b-82b2f68bbc49"
    ],
    "Companies": [
      "32804538-b159-4209-a5bd-354c0f689870",
      "ef13af0f-47cf-4422-9dcf-ceab65d390c1"
    ],
    "Groups": [
      "67305998-1ed8-44b6-954d-d87f930a9cc3",
      "c0dcb5cc-e2ef-48b4-9d74-2e8fda8c3b5b"
    ],
    "Opportunities": [
      "6533a0ae-8daa-4f75-afa7-71ffd5a0aeb8",
      "205d5369-4c52-4507-b651-87d93cfa4859"
    ]
  }
}

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:
"3acd0c34-8ed6-442c-8570-8fe4f603204f"