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": "91aa3039-30ae-4394-8a39-6c93a983a756",
  "ParentId": "a7acdc8e-5020-41c6-852d-6f4370426783",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "490ce95f-4986-40fd-bb11-6416fc55bbe3",
      "261b3524-b69f-4794-a015-ad532f06eeec"
    ],
    "Companies": [
      "56ce616f-f3d9-41ab-98b1-8692ed78126e",
      "b9223141-0161-4a9a-a7c7-a122734a73b5"
    ],
    "Groups": [
      "aee633be-9e43-49d6-b948-547085aa68b5",
      "2adcecba-89e7-4176-a1f2-540862b0ca53"
    ],
    "Opportunities": [
      "ff04a2aa-e6f9-4d36-952e-7be459716025",
      "ca3d69a5-1f2b-4835-bbae-4402fe536858"
    ]
  }
}

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:
"20dae003-2aaf-432d-8634-1ee51b6606d4"