Get Sales Activities by Lead Id

Returns sales activities associated with a lead based on the “LeadId” you pass in the API URL.

Set the”IncludeOption” parameter in the URL to “true” to see the possible options/values of the drop-down type sales activity fields. For example, the drop-down sales activity field “City” will show the set options – Banglore, Patna, Chennai, Mumbai etc.

API URL

GET
https://{host}/v2/SalesActivity.svc/RetrieveByLeadId?accessKey=AccessKey&secretKey=SecretKey&leadId=LeadId&includeOption=IncludeOption
Copy URL

URL Parameters

Parameter Description
LeadId Unique identifier of the lead.
IncludeOption Whether you want to get the options/values for drop-down sales activities fields. Accordingly pass "true or "false".

Response

200 OK

Content-Type: application/json

[
  {
    "ID": "c2c0128f-4414-11e6-b61b-22000aa8e760",
    "Name": "Sales Activity - New",
    "DisplayName": "Sales Activity",
    "DefaultCurrencySymbol": "₹",
    "DefaultCurrencyAbbreviation": "INR",
    "DefaultCurrencyName": "Indian Rupees",
    "CustomerStageName": "Customer",
    "ConvertToCustomer": true,
    "Fields": [
      {
        "SchemaName": "mx_Custom_1",
        "DisplayName": "Product",
        "Value": "64f794cc-214c-4c82-a44a-48ff27e1ede7",
        "DataType": "Product",
        "IsMandatory": true,
        "ShowInForm": true,
        "Sequence": 1,
        "OptionSet": ""
      },
      {
        "SchemaName": "ProductName",
        "DisplayName": null,
        "Value": "P1003 - Bat",
        "DataType": null,
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 0,
        "OptionSet": null,
        "IsDerived": true
      },
      {
        "SchemaName": "mx_Custom_2",
        "DisplayName": "Order Value",
        "Value": "0.00",
        "DataType": "Number",
        "IsMandatory": true,
        "ShowInForm": true,
        "Sequence": 2,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_3",
        "DisplayName": "Sales Date",
        "Value": "2016-07-07 07:28:34",
        "DataType": "DateTime",
        "IsMandatory": true,
        "ShowInForm": true,
        "Sequence": 3,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_4",
        "DisplayName": "Sales Owner",
        "Value": "7cf19f34-21d6-11e6-8091-02b01d637af7",
        "DataType": "ActiveUsers",
        "IsMandatory": true,
        "ShowInForm": true,
        "Sequence": 4,
        "OptionSet": ""
      },
      {
        "SchemaName": "SalesOwner",
        "DisplayName": null,
        "Value": "swesh kumar",
        "DataType": null,
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 0,
        "OptionSet": null,
        "IsDerived": true
      },
      {
        "SchemaName": "mx_Custom_5",
        "DisplayName": "Quantity",
        "Value": "4",
        "DataType": "Number",
        "IsMandatory": false,
        "ShowInForm": true,
        "Sequence": 5,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_6",
        "DisplayName": "City",
        "Value": "",
        "DataType": "Dropdown",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 6,
        "OptionSet": "[{"IsDefault":true,"Text":"","Value":"Chennai","Order":0,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"","Order":1,"CanEdit":1,"CanDelete":1,"IsLastOption":0}]"
      },
      {
        "SchemaName": "mx_Custom_7",
        "DisplayName": "Sales Stage",
        "Value": "Placed Order",
        "DataType": "Dropdown",
        "IsMandatory": false,
        "ShowInForm": true,
        "Sequence": 7,
        "OptionSet": "[{"IsDefault":true,"Text":"","Value":"Reorder","Order":0,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"Wooing","Order":1,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"Sent Catalog","Order":2,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"Sent Samples","Order":3,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"Sent Estimate","Order":4,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"Placed Order","Order":5,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"Closed Won","Order":6,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"Closed Lost","Order":7,"CanEdit":1,"CanDelete":1,"IsLastOption":0}]"
      },
      {
        "SchemaName": "mx_Custom_8",
        "DisplayName": "Just Name",
        "Value": "nothing",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": true,
        "Sequence": 8,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_9",
        "DisplayName": "Custom 5",
        "Value": "",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 9,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_10",
        "DisplayName": "Custom 6",
        "Value": "",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 10,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_11",
        "DisplayName": "Custom 7",
        "Value": "",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 11,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_12",
        "DisplayName": "Custom 8",
        "Value": "",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 12,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_13",
        "DisplayName": "Custom 9",
        "Value": "",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 13,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_14",
        "DisplayName": "Custom 10",
        "Value": "",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 14,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_15",
        "DisplayName": " Custom 11",
        "Value": "",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 15,
        "OptionSet": ""
      }
    ],
    "CreatedBy": "7cf19f34-21d6-11e6-8091-02b01d637af7",
    "CreatedByName": "swesh kumar",
    "CreatedOn": "/Date(1467876664000+0000)/",
    "IsCancelled": true,
    "CancelledOn": "/Date(1467893966000+0000)/",
    "CancelledBy": "7cf19f34-21d6-11e6-8091-02b01d637af7",
    "CancelledByName": "swesh kumar",
    "CancellationNotes": "Sales Activity"
  },
  {
    "ID": "0ba32cdd-443d-11e6-b61b-22000aa8e760",
    "Name": "Sales Activity - New",
    "DisplayName": "Sales Activity",
    "DefaultCurrencySymbol": "₹",
    "DefaultCurrencyAbbreviation": "INR",
    "DefaultCurrencyName": "Indian Rupees",
    "CustomerStageName": "Customer",
    "ConvertToCustomer": true,
    "Fields": [
      {
        "SchemaName": "mx_Custom_1",
        "DisplayName": "Product",
        "Value": "64f794cc-214c-4c82-a44a-48ff27e1ede7",
        "DataType": "Product",
        "IsMandatory": true,
        "ShowInForm": true,
        "Sequence": 1,
        "OptionSet": ""
      },
      {
        "SchemaName": "ProductName",
        "DisplayName": null,
        "Value": "P1003 - Bat",
        "DataType": null,
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 0,
        "OptionSet": null,
        "IsDerived": true
      },
      {
        "SchemaName": "mx_Custom_2",
        "DisplayName": "Order Value",
        "Value": "0.00",
        "DataType": "Number",
        "IsMandatory": true,
        "ShowInForm": true,
        "Sequence": 2,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_3",
        "DisplayName": "Sales Date",
        "Value": "2016-07-07 07:28:34",
        "DataType": "DateTime",
        "IsMandatory": true,
        "ShowInForm": true,
        "Sequence": 3,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_4",
        "DisplayName": "Sales Owner",
        "Value": "7cf19f34-21d6-11e6-8091-02b01d637af7",
        "DataType": "ActiveUsers",
        "IsMandatory": true,
        "ShowInForm": true,
        "Sequence": 4,
        "OptionSet": ""
      },
      {
        "SchemaName": "SalesOwner",
        "DisplayName": null,
        "Value": "swesh kumar",
        "DataType": null,
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 0,
        "OptionSet": null,
        "IsDerived": true
      },
      {
        "SchemaName": "mx_Custom_5",
        "DisplayName": "Quantity",
        "Value": "4",
        "DataType": "Number",
        "IsMandatory": false,
        "ShowInForm": true,
        "Sequence": 5,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_6",
        "DisplayName": "City",
        "Value": "",
        "DataType": "Dropdown",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 6,
        "OptionSet": "[{"IsDefault":true,"Text":"","Value":"Chennai","Order":0,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"","Order":1,"CanEdit":1,"CanDelete":1,"IsLastOption":0}]"
      },
      {
        "SchemaName": "mx_Custom_7",
        "DisplayName": "Sales Stage",
        "Value": "Placed Order",
        "DataType": "Dropdown",
        "IsMandatory": false,
        "ShowInForm": true,
        "Sequence": 7,
        "OptionSet": "[{"IsDefault":true,"Text":"","Value":"Reorder","Order":0,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"Wooing","Order":1,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"Sent Catalog","Order":2,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"Sent Samples","Order":3,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"Sent Estimate","Order":4,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"Placed Order","Order":5,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"Closed Won","Order":6,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"Closed Lost","Order":7,"CanEdit":1,"CanDelete":1,"IsLastOption":0}]"
      },
      {
        "SchemaName": "mx_Custom_8",
        "DisplayName": "Just Name",
        "Value": "nothing",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": true,
        "Sequence": 8,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_9",
        "DisplayName": "Custom 5",
        "Value": "c2c0128f-4414-11e6-b61b-22000aa8e760",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 9,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_10",
        "DisplayName": "Custom 6",
        "Value": "Sales Activity",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 10,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_11",
        "DisplayName": "Custom 7",
        "Value": "",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 11,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_12",
        "DisplayName": "Custom 8",
        "Value": "",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 12,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_13",
        "DisplayName": "Custom 9",
        "Value": "",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 13,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_14",
        "DisplayName": "Custom 10",
        "Value": "",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 14,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_15",
        "DisplayName": " Custom 11",
        "Value": "",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 15,
        "OptionSet": ""
      }
    ],
    "CreatedBy": "7cf19f34-21d6-11e6-8091-02b01d637af7",
    "CreatedByName": "swesh kumar",
    "CreatedOn": "/Date(1467893966000+0000)/",
    "CancelledBy": "",
    "CancelledByName": "",
    "CancellationNotes": ""
  },
  {
    "ID": "d10cc6e8-441b-11e6-b61b-22000aa8e760",
    "Name": "Sales Activity - New",
    "DisplayName": "Sales Activity",
    "DefaultCurrencySymbol": "₹",
    "DefaultCurrencyAbbreviation": "INR",
    "DefaultCurrencyName": "Indian Rupees",
    "CustomerStageName": "Customer",
    "ConvertToCustomer": true,
    "Fields": [
      {
        "SchemaName": "mx_Custom_1",
        "DisplayName": "Product",
        "Value": "7e30f835-21d6-11e6-b61b-22000aa8e760",
        "DataType": "Product",
        "IsMandatory": true,
        "ShowInForm": true,
        "Sequence": 1,
        "OptionSet": ""
      },
      {
        "SchemaName": "ProductName",
        "DisplayName": null,
        "Value": "P1001 - Sample Product",
        "DataType": null,
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 0,
        "OptionSet": null,
        "IsDerived": true
      },
      {
        "SchemaName": "mx_Custom_2",
        "DisplayName": "Order Value",
        "Value": "600.00",
        "DataType": "Number",
        "IsMandatory": true,
        "ShowInForm": true,
        "Sequence": 2,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_3",
        "DisplayName": "Sales Date",
        "Value": "2016-07-07 08:21:13",
        "DataType": "DateTime",
        "IsMandatory": true,
        "ShowInForm": true,
        "Sequence": 3,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_4",
        "DisplayName": "Sales Owner",
        "Value": "190e7b6f-39da-11e6-b61b-22000aa8e760",
        "DataType": "ActiveUsers",
        "IsMandatory": true,
        "ShowInForm": true,
        "Sequence": 4,
        "OptionSet": ""
      },
      {
        "SchemaName": "SalesOwner",
        "DisplayName": null,
        "Value": "User lead",
        "DataType": null,
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 0,
        "OptionSet": null,
        "IsDerived": true
      },
      {
        "SchemaName": "mx_Custom_5",
        "DisplayName": "Quantity",
        "Value": "6",
        "DataType": "Number",
        "IsMandatory": false,
        "ShowInForm": true,
        "Sequence": 5,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_6",
        "DisplayName": "City",
        "Value": "",
        "DataType": "Dropdown",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 6,
        "OptionSet": "[{"IsDefault":true,"Text":"","Value":"Chennai","Order":0,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"","Order":1,"CanEdit":1,"CanDelete":1,"IsLastOption":0}]"
      },
      {
        "SchemaName": "mx_Custom_7",
        "DisplayName": "Sales Stage",
        "Value": "Sent Estimate",
        "DataType": "Dropdown",
        "IsMandatory": false,
        "ShowInForm": true,
        "Sequence": 7,
        "OptionSet": "[{"IsDefault":true,"Text":"","Value":"Reorder","Order":0,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"Wooing","Order":1,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"Sent Catalog","Order":2,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"Sent Samples","Order":3,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"Sent Estimate","Order":4,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"Placed Order","Order":5,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"Closed Won","Order":6,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"Closed Lost","Order":7,"CanEdit":1,"CanDelete":1,"IsLastOption":0}]"
      },
      {
        "SchemaName": "mx_Custom_8",
        "DisplayName": "Just Name",
        "Value": "ggg",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": true,
        "Sequence": 8,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_9",
        "DisplayName": "Custom 5",
        "Value": "",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 9,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_10",
        "DisplayName": "Custom 6",
        "Value": "",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 10,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_11",
        "DisplayName": "Custom 7",
        "Value": "",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 11,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_12",
        "DisplayName": "Custom 8",
        "Value": "",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 12,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_13",
        "DisplayName": "Custom 9",
        "Value": "",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 13,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_14",
        "DisplayName": "Custom 10",
        "Value": "",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 14,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_15",
        "DisplayName": " Custom 11",
        "Value": "",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 15,
        "OptionSet": ""
      }
    ],
    "CreatedBy": "7cf19f34-21d6-11e6-8091-02b01d637af7",
    "CreatedByName": "swesh kumar",
    "CreatedOn": "/Date(1467879694000+0000)/",
    "CancelledBy": "",
    "CancelledByName": "",
    "CancellationNotes": ""
  },
  {
    "ID": "d7f485a7-4410-11e6-b61b-22000aa8e760",
    "Name": "Sales Activity - New",
    "DisplayName": "Sales Activity",
    "DefaultCurrencySymbol": "₹",
    "DefaultCurrencyAbbreviation": "INR",
    "DefaultCurrencyName": "Indian Rupees",
    "CustomerStageName": "Customer",
    "ConvertToCustomer": true,
    "Fields": [
      {
        "SchemaName": "mx_Custom_1",
        "DisplayName": "Product",
        "Value": "e1803070-35dd-4a10-a994-c73229849d5b",
        "DataType": "Product",
        "IsMandatory": true,
        "ShowInForm": true,
        "Sequence": 1,
        "OptionSet": ""
      },
      {
        "SchemaName": "ProductName",
        "DisplayName": null,
        "Value": "P1002 - Fan",
        "DataType": null,
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 0,
        "OptionSet": null,
        "IsDerived": true
      },
      {
        "SchemaName": "mx_Custom_2",
        "DisplayName": "Order Value",
        "Value": "2.00",
        "DataType": "Number",
        "IsMandatory": true,
        "ShowInForm": true,
        "Sequence": 2,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_3",
        "DisplayName": "Sales Date",
        "Value": "2016-07-07 07:01:28",
        "DataType": "DateTime",
        "IsMandatory": true,
        "ShowInForm": true,
        "Sequence": 3,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_4",
        "DisplayName": "Sales Owner",
        "Value": "190e7b6f-39da-11e6-b61b-22000aa8e760",
        "DataType": "ActiveUsers",
        "IsMandatory": true,
        "ShowInForm": true,
        "Sequence": 4,
        "OptionSet": ""
      },
      {
        "SchemaName": "SalesOwner",
        "DisplayName": null,
        "Value": "User lead",
        "DataType": null,
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 0,
        "OptionSet": null,
        "IsDerived": true
      },
      {
        "SchemaName": "mx_Custom_5",
        "DisplayName": "Quantity",
        "Value": "2",
        "DataType": "Number",
        "IsMandatory": false,
        "ShowInForm": true,
        "Sequence": 5,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_6",
        "DisplayName": "City",
        "Value": "Chennai",
        "DataType": "Dropdown",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 6,
        "OptionSet": "[{"IsDefault":true,"Text":"","Value":"Chennai","Order":0,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"","Order":1,"CanEdit":1,"CanDelete":1,"IsLastOption":0}]"
      },
      {
        "SchemaName": "mx_Custom_7",
        "DisplayName": "Sales Stage",
        "Value": "",
        "DataType": "Dropdown",
        "IsMandatory": false,
        "ShowInForm": true,
        "Sequence": 7,
        "OptionSet": "[{"IsDefault":true,"Text":"","Value":"Reorder","Order":0,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"Wooing","Order":1,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"Sent Catalog","Order":2,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"Sent Samples","Order":3,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"Sent Estimate","Order":4,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"Placed Order","Order":5,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"Closed Won","Order":6,"CanEdit":1,"CanDelete":1,"IsLastOption":0},{"IsDefault":false,"Text":"","Value":"Closed Lost","Order":7,"CanEdit":1,"CanDelete":1,"IsLastOption":0}]"
      },
      {
        "SchemaName": "mx_Custom_8",
        "DisplayName": "Just Name",
        "Value": "ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWX",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": true,
        "Sequence": 8,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_9",
        "DisplayName": "Custom 5",
        "Value": "",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 9,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_10",
        "DisplayName": "Custom 6",
        "Value": "",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 10,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_11",
        "DisplayName": "Custom 7",
        "Value": "",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 11,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_12",
        "DisplayName": "Custom 8",
        "Value": "",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 12,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_13",
        "DisplayName": "Custom 9",
        "Value": "",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 13,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_14",
        "DisplayName": "Custom 10",
        "Value": "",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 14,
        "OptionSet": ""
      },
      {
        "SchemaName": "mx_Custom_15",
        "DisplayName": " Custom 11",
        "Value": "",
        "DataType": "String",
        "IsMandatory": false,
        "ShowInForm": false,
        "Sequence": 15,
        "OptionSet": ""
      }
    ],
    "CreatedBy": "7cf19f34-21d6-11e6-8091-02b01d637af7",
    "CreatedByName": "swesh kumar",
    "CreatedOn": "/Date(1467874981000+0000)/",
    "CancelledBy": "",
    "CancelledByName": "",
    "CancellationNotes": ""
  }
]

HTTP Response Code

Code Description
200 OK

This is the status code for successful API call.

401 Unauthorized

The API call was made with invalid access credentials. Check your AccessKey and SecretKey.

400 Bad Request

The message body on the request is not as per API specification. Make sure that content type is set to “application/json” and the JSON body has correct attribute names and structure.

404 Not Found

The API could not be found. Please check the API signature.

429 Too Many Requests

API calls exceeded the limit of 25 in 5 second(s)

500 Internal Server Error

The API called failed. There could be many reasons for it. Check the exception message to get more details.