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": "a5b4ec6a-d327-4e06-af4a-6deb05721770",
  "ParentId": "ec9d6881-3633-45b6-a9b1-3cf8cd830230",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "2dc36084-a81b-42d9-ae56-828f57883281",
      "72be35ea-ac66-4c90-9b15-6ce88155ec97"
    ],
    "Companies": [
      "0aa7c70a-4eec-463f-b26c-8f6798a4a1d5",
      "6fa2281c-e841-448e-b8b1-36be49afc819"
    ],
    "Groups": [
      "3d3d5a79-55fc-4d41-9b59-6c406fcd1ada",
      "034283c1-82b1-498f-b1e3-1b3f5ec4267a"
    ],
    "Opportunities": [
      "13061703-e103-4d09-8fb9-d76707d63a29",
      "6358b601-74be-4cc0-927e-15894dd3ff13"
    ]
  }
}

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:
"7bf13a38-8069-4121-b740-eb35bd0c9aa7"