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": "9e47f236-b87c-4d1b-a702-b70602c97954",
  "ParentId": "ca68b379-840d-43ed-a766-83be6ab40ecc",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "64b728ad-b5ab-46e6-a441-814c9afdc22a",
      "b24058c8-1c4b-4bed-8327-a438f0ddbb67"
    ],
    "Companies": [
      "351a8da4-e17f-4fcb-90f5-2a33ebeee6a7",
      "de6d53c8-cf0d-414b-9925-7cf663ce383f"
    ],
    "Groups": [
      "a4f2c5e9-2f46-480f-9fa8-7a03b19e4dcb",
      "a3fe422e-3f5d-465b-960f-634f969e9875"
    ],
    "Opportunities": [
      "9f758ea3-4d56-4b64-867f-5fed68c3b16d",
      "7d357798-9e08-4f28-981b-3de046478f27"
    ]
  }
}

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:
"1b14e703-018f-45ef-bdbd-db6cd975e314"