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": "510b48ce-831c-4c8b-980e-be86f5cb17cb",
  "ParentId": "1eb0e738-ad3f-4699-a060-f779be392618",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "87e10e05-e37c-4929-8e95-49d61ddeb06d",
      "812b0600-c1cf-4471-a52d-e7c6c54d708b"
    ],
    "Companies": [
      "f23f03a8-83df-4178-a2ae-2e915c21af5a",
      "94862e5b-723f-40e2-8d74-4b8126c0605f"
    ],
    "Groups": [
      "96029eda-50f3-40c8-b6bc-f932874a85ac",
      "88571a4f-0565-41e6-8530-c01aa0ac5fb3"
    ],
    "Opportunities": [
      "215da761-5cbe-40e1-a92c-312cb63bc1c7",
      "d2862568-fb43-407c-9859-5ecbb6b97087"
    ]
  }
}

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:
"f35c0338-174c-4bb0-b4e3-c2aee0ec7a2c"