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": "0dc5e160-59a7-4caf-a6b6-119f95ad50fe",
  "ParentId": "2efa99a9-cb38-4334-92a6-fe176a0b8fe3",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "b8e9b01d-da1d-4773-b5f1-47cd75ed43ff",
      "13996d8b-74f4-4ca4-8130-06b13b5d7e22"
    ],
    "Companies": [
      "e8219a30-08d7-446d-833f-cbd22c1b1086",
      "005117ab-d4f5-4783-b701-5209eac2e089"
    ],
    "Groups": [
      "3b20a665-0c60-45c8-86c1-ed9122f30188",
      "5a646ec0-3e54-4002-9538-5d4963d2240a"
    ],
    "Opportunities": [
      "3ab3ce5c-021e-46e1-b254-73fdff5f5071",
      "775a0803-7fc9-4c36-98ef-1f8a80eea56a"
    ]
  }
}

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:
"2705f597-47fd-4861-ae05-4652dc91474e"