PUT api/deals/{accountNumber}/reporting

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountNumber

integer

Required

Body Parameters

AccountSettingSubModel
NameDescriptionTypeAdditional information
AccountType

string

None.

SpecialCommentCode

string

None.

ComplianceCode

string

None.

DoNotReport

boolean

None.

BuyerECOACode

string

None.

BuyerInformationIndicator

string

None.

BuyerAddressIndicator

string

None.

HasCoBuyer

boolean

None.

CoBuyerECOACode

string

None.

CoBuyerInformationIndicator

string

None.

CoBuyerAddressIndicator

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountType": "sample string 1",
  "SpecialCommentCode": "sample string 2",
  "ComplianceCode": "sample string 3",
  "DoNotReport": true,
  "BuyerECOACode": "sample string 5",
  "BuyerInformationIndicator": "sample string 6",
  "BuyerAddressIndicator": "sample string 7",
  "HasCoBuyer": true,
  "CoBuyerECOACode": "sample string 9",
  "CoBuyerInformationIndicator": "sample string 10",
  "CoBuyerAddressIndicator": "sample string 11"
}

application/xml, text/xml

Sample:
<AccountSettingSubModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Automatrix.DMS.Business.Entities.SubModels">
  <AccountType>sample string 1</AccountType>
  <BuyerAddressIndicator>sample string 7</BuyerAddressIndicator>
  <BuyerECOACode>sample string 5</BuyerECOACode>
  <BuyerInformationIndicator>sample string 6</BuyerInformationIndicator>
  <CoBuyerAddressIndicator>sample string 11</CoBuyerAddressIndicator>
  <CoBuyerECOACode>sample string 9</CoBuyerECOACode>
  <CoBuyerInformationIndicator>sample string 10</CoBuyerInformationIndicator>
  <ComplianceCode>sample string 3</ComplianceCode>
  <DoNotReport>true</DoNotReport>
  <HasCoBuyer>true</HasCoBuyer>
  <SpecialCommentCode>sample string 2</SpecialCommentCode>
</AccountSettingSubModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AccountSettingSubModel'

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.