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": "423b1d8c-fa82-42a4-8520-40e4201bbf5c",
  "ParentId": "2e10d8e6-b4cb-4504-9bd3-9d2485350d99",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "3c89b32e-d125-4b9f-a6f6-544aee61980a",
      "b9cc601f-13d5-4edf-ba9e-00c936d2e262"
    ],
    "Companies": [
      "0730a438-9d9f-434a-8804-5cca2ad6f055",
      "6977b685-3aaf-449b-89e2-cb0b4238f12d"
    ],
    "Groups": [
      "d357987f-34da-4703-8646-62d76bed297f",
      "bad2af2a-8a69-4d2a-beb6-78f94815bd10"
    ],
    "Opportunities": [
      "41f3ed5f-9f17-434f-8642-cf77a2d0b8f3",
      "9d8527b2-977c-4850-9f14-b58482bf869d"
    ]
  }
}

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:
"56622c64-9478-46b5-a251-b176fb189443"