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": "343ef475-ee32-4f63-ac5d-552e5157fa65",
  "ParentId": "b7b671a1-b4e6-437b-a706-4fef3c427527",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "b4d4c8b6-3166-4d8b-87f4-f8ade822b053",
      "10633983-6e96-4b93-ba37-6080ca64f628"
    ],
    "Companies": [
      "982d81e4-73da-46d9-8088-61df161fd165",
      "3e4833d9-d6d6-4cce-af1d-5615c863b7ad"
    ],
    "Groups": [
      "e92e770f-21f9-4507-a6ca-406209376195",
      "7239e9f9-12d2-42bd-9628-42c390139094"
    ],
    "Opportunities": [
      "25f8cc2f-6854-484d-aa2d-a5afc999591b",
      "a105a0b9-3c94-45cb-afe6-a500ff205f1b"
    ]
  }
}

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:
"9b9d417b-913b-40c9-921b-869dedf94d75"