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": "094b499f-5899-4a7b-8a9a-f71da3af2444",
  "ParentId": "e0b03d9b-d75d-49a4-85d1-d4725315f062",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "895b277c-07a3-4fe8-b9bf-2a2bbe4e7b11",
      "9984901d-93bc-4c53-bb81-08795f0517ea"
    ],
    "Companies": [
      "2f12027f-fda9-4983-aa91-68f29e58d48f",
      "3b475708-bc45-4df2-a5ef-1a9c2d1ec958"
    ],
    "Groups": [
      "9fb0ba51-3f96-4e78-8abb-00fc91b65b47",
      "22931859-f751-45a6-8528-6d3af03c28bc"
    ],
    "Opportunities": [
      "1d134e43-414c-444c-ab98-03dc0545d619",
      "30233e69-d25b-46c6-9b87-84ab83b2fb27"
    ]
  }
}

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:
"dd752205-9f5c-4bab-a477-96bbb600456b"