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": "0c28a5dc-bc2b-4ade-aa0d-02e45fa14008",
  "ParentId": "bd321c79-53e9-443f-91bc-652a1dff5717",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "92f08dbb-6689-46a0-bc73-f4c768356dc9",
      "9aea6c72-be35-4582-9c18-fe510456236b"
    ],
    "Companies": [
      "32a08b89-e825-418a-bce4-d5418a5e8b52",
      "0dbf23b0-6358-48ca-b56d-8cc02474293a"
    ],
    "Groups": [
      "5fe730eb-eb61-43cc-96d3-0a6137ad85f5",
      "6c16365a-37d7-4e05-bedc-cb304b947012"
    ],
    "Opportunities": [
      "7066538f-d126-4bb8-ab57-69024ee68ca1",
      "90cc48c8-1a48-4315-807f-4e497020cbc1"
    ]
  }
}

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:
"926ebd29-e377-4dbd-a1dc-a36d89e64155"