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": "e39c8abc-b306-43df-bb18-f9c72ab30d01",
  "ParentId": "6abe1abb-868c-4e7b-8500-de964fbbae60",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "48c2cf37-0771-4a8f-a58b-d6e16f1e3d8f",
      "74b00f2c-8e29-4ee8-a9e0-5a34dd0f7653"
    ],
    "Companies": [
      "149bd59d-cfaf-4bce-97b6-7c1d0c4eb7d8",
      "e373db75-a127-4651-85a7-44e83c1a5249"
    ],
    "Groups": [
      "0b751194-71e1-4f4f-89e3-08b2ecf5b78e",
      "4e5d634b-53ce-4ba6-8fe2-b04d98327b36"
    ],
    "Opportunities": [
      "2ddff39f-9156-4906-98df-03527692082f",
      "56ed8040-c6c8-458d-a41b-8b39f380bbf4"
    ]
  }
}

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:
"8c81320d-2423-48dd-b556-4e3e46de28e5"