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": "ef5b56e8-bd1d-4319-9294-077a9871b7f0",
  "ParentId": "904fc1d7-a0cd-4efd-9629-63f1ba2cc260",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "ce9e1759-7a43-40ad-96cd-86f6788fa4d2",
      "02c4ac74-9970-404f-85f5-e6279657b5d0"
    ],
    "Companies": [
      "54475aac-1163-4f77-8ca5-c60bf597da11",
      "0e55f3a4-ebd7-4521-8d5b-b1b55f777260"
    ],
    "Groups": [
      "420df3e4-60d7-4684-ac48-811b1c7e8ff4",
      "72612c29-cb78-421c-a186-15550dde5bba"
    ],
    "Opportunities": [
      "1321a9ad-ebea-4e7a-bb8a-79ae40fb12be",
      "53fa2b86-eb8b-471b-9d5b-c0fb12602f5f"
    ]
  }
}

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:
"a315b2bb-e71c-4957-b695-3b78d6c60b8b"