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": "e610d327-cdb6-4b90-9713-9e18d73141b8",
  "ParentId": "5124ef93-2b46-4994-ad81-9ae5b9fd0c54",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "d26c1f51-04d9-484f-abab-6dda6c0d30e4",
      "99e22f5a-1ec3-4ef9-9b5a-811a7084a4fd"
    ],
    "Companies": [
      "e4aa2e79-e4a7-4e34-8fbf-54cf1723f910",
      "5f109ec4-6218-4eaa-a6d0-eb9d79177c1a"
    ],
    "Groups": [
      "4e86cb7c-b7d8-47ae-8a64-ba0a1b54547e",
      "09e4fe6c-46f9-4749-b74d-47726b1d65d3"
    ],
    "Opportunities": [
      "43f98b10-0117-41e4-ad2a-12a5f03e8766",
      "070a27bb-6ab3-4d80-8bf4-569e38b2a59e"
    ]
  }
}

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:
"be2e90aa-d0ea-4a1f-8436-5a7ebf9a6344"