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": "482d9319-dfa2-4e2c-9e53-2e47f0f393e3",
  "ParentId": "4038c87c-7ab4-4870-a623-de1b3d314262",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "6faab3b2-9077-4228-aaba-36c57baa5487",
      "a2814c40-5edd-4ad3-aef9-c9810dd677dd"
    ],
    "Companies": [
      "41c5d56f-8ee2-4dfa-bb3c-3a9839e679f7",
      "4d4f8d8d-8e7c-4065-9522-c2f1c05d6450"
    ],
    "Groups": [
      "22aff89d-8f35-4b87-a984-d7be0da44d69",
      "b97e95b9-52cb-4430-8a13-a7ecc41dfb99"
    ],
    "Opportunities": [
      "d1253053-d844-44d7-bdee-c86c4eaeb9b9",
      "65e54d63-26da-493c-8cfe-d80b3b11e1c5"
    ]
  }
}

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:
"d01eb6ed-6be9-4648-b59a-4f465aed14ac"