POST api/v1/contact/deal

Record of the fact that something was purchased

Request Information

URI Parameters

None.

Body Parameters

DealBindingModel
NameDescriptionTypeAdditional information
Authentication

AuthenticationModel

Required

Request

DealRequestModel

Required

Request Formats

application/json, text/json

Sample:
{
  "Authentication": {
    "Id": "170200123 - sample only, user your ID",
    "Key": "467512342123 - sample only, user your Key"
  },
  "Request": {
    "Email": "larry@newmedia.com",
    "NewDeal": {
      "Description": "SaaS Tier 1 package purchase",
      "Amount": "20.50 (include decimal places)",
      "DealStage": "Purchase made!",
      "DealType": "SaaS Purchase",
      "DiscountCode": "Vex2017",
      "MarketingMotion": "Paxa2018",
      "ProductType": "Bundle1/Bundle2/Bundle3/EscrowSetupFee/EscrowTechnologyFee/Membership/Render/Storage/Transit/Workstation/Unknown",
      "PurchaseType": "ALaCarte/Bundle/Escrow/Membership/Saas/Unknown",
      "Source": "RenderRocket/StratusCorePlatform/Unknown",
      "SoftwareId": null,
      "RevenueShare": null,
      "MemberPurchased": null,
      "Quantity": null,
      "Sku": null,
      "RenderCreditPrice": null,
      "ListPrice": null,
      "DealDate": null,
      "ISVName": null
    }
  }
}

application/xml, text/xml

Sample:
<DealBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiModels">
  <Authentication xmlns:d2p1="http://schemas.datacontract.org/2004/07/Api.Models">
    <d2p1:Id>170200123 - sample only, user your ID</d2p1:Id>
    <d2p1:Key>467512342123 - sample only, user your Key</d2p1:Key>
  </Authentication>
  <Request>
    <Email>larry@newmedia.com</Email>
    <NewDeal>
      <Amount>20.50 (include decimal places)</Amount>
      <DealDate i:nil="true" />
      <DealStage>Purchase made!</DealStage>
      <DealType>SaaS Purchase</DealType>
      <Description>SaaS Tier 1 package purchase</Description>
      <DiscountCode>Vex2017</DiscountCode>
      <ISVName i:nil="true" />
      <ListPrice i:nil="true" />
      <MarketingMotion>Paxa2018</MarketingMotion>
      <MemberPurchased i:nil="true" />
      <ProductType>Bundle1/Bundle2/Bundle3/EscrowSetupFee/EscrowTechnologyFee/Membership/Render/Storage/Transit/Workstation/Unknown</ProductType>
      <PurchaseType>ALaCarte/Bundle/Escrow/Membership/Saas/Unknown</PurchaseType>
      <Quantity i:nil="true" />
      <RenderCreditPrice i:nil="true" />
      <RevenueShare i:nil="true" />
      <Sku i:nil="true" />
      <SoftwareId i:nil="true" />
      <Source>RenderRocket/StratusCorePlatform/Unknown</Source>
    </NewDeal>
  </Request>
</DealBindingModel>

Response Information

Resource Description

ContactsOutgoingModel
NameDescriptionTypeAdditional information
Message

MessageModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": {
    "Code": "(2 digit code reflecting result of request - 00 is good)",
    "Description": "(Message response in text depending upon request/result of request)"
  }
}

application/xml, text/xml

Sample:
<ContactsOutgoingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiModels">
  <Message xmlns:d2p1="http://schemas.datacontract.org/2004/07/Api.Models">
    <d2p1:Code>(2 digit code reflecting result of request - 00 is good)</d2p1:Code>
    <d2p1:Description>(Message response in text depending upon request/result of request)</d2p1:Description>
  </Message>
</ContactsOutgoingModel>