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": "e1805b0a-5e82-414e-b733-0657694f2487",
  "ParentId": "8276c3c2-cf75-4f0f-b5d9-81e17bf3e3c0",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "c1e6fccf-9289-4b1f-a6c5-5049684ba3dd",
      "b95ffe95-0b9b-48a2-ae24-7fa92855b512"
    ],
    "Companies": [
      "d916a645-6ccd-44c9-a36b-d05e88db33ab",
      "501c55b2-8022-4570-895f-1123fb2dd9a7"
    ],
    "Groups": [
      "7645a9eb-2166-497f-bb67-b0951edc4346",
      "d59d0175-9519-4e80-b461-4db38a543ce8"
    ],
    "Opportunities": [
      "e2aa8c04-e7a1-44aa-ad31-8aa9276e2cae",
      "8e029ac8-f623-452b-a94b-63ec5f831527"
    ]
  }
}

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:
"949dedd8-331e-4ceb-9a0b-6b3f5e1d010a"