POST api/AdminData/AgencyPreference/Save

Request Information

URI Parameters

None.

Body Parameters

AgencyPreferenceViewModel
NameDescriptionTypeAdditional information
AgencyID

integer

None.

Address

string

None.

ShowLogoOnAllQuotePages

boolean

None.

ShowLogoOnAllInvoicePages

boolean

None.

ShowProjectNumber

boolean

None.

PMFPercent

decimal number

None.

DefaultThirdPartyBilling

boolean

None.

RFQEmailTo

string

None.

MeetTruckCost

decimal number

None.

ProposalCoverAgencyLogo

string

None.

ProposalCoverAgencyLogoURL

string

None.

OperatingStates

Collection of StateViewModel

None.

Request Formats

application/json, text/json

Sample:
{
  "agencyID": 1,
  "address": "sample string 2",
  "showLogoOnAllQuotePages": true,
  "showLogoOnAllInvoicePages": true,
  "showProjectNumber": true,
  "pmfPercent": 6.0,
  "defaultThirdPartyBilling": true,
  "rfqEmailTo": "sample string 8",
  "meetTruckCost": 9.0,
  "proposalCoverAgencyLogo": "sample string 10",
  "proposalCoverAgencyLogoURL": "sample string 11",
  "operatingStates": [
    {
      "stateID": 1,
      "stateName": "sample string 2",
      "stateAbvr": "sample string 3",
      "countryID": 4
    },
    {
      "stateID": 1,
      "stateName": "sample string 2",
      "stateAbvr": "sample string 3",
      "countryID": 4
    }
  ]
}

application/xml, text/xml

Sample:
<AgencyPreferenceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameTimeBAL.ViewModels">
  <Address>sample string 2</Address>
  <AgencyID>1</AgencyID>
  <DefaultThirdPartyBilling>true</DefaultThirdPartyBilling>
  <MeetTruckCost>9</MeetTruckCost>
  <OperatingStates>
    <StateViewModel>
      <CountryID>4</CountryID>
      <StateAbvr>sample string 3</StateAbvr>
      <StateID>1</StateID>
      <StateName>sample string 2</StateName>
    </StateViewModel>
    <StateViewModel>
      <CountryID>4</CountryID>
      <StateAbvr>sample string 3</StateAbvr>
      <StateID>1</StateID>
      <StateName>sample string 2</StateName>
    </StateViewModel>
  </OperatingStates>
  <PMFPercent>6</PMFPercent>
  <ProposalCoverAgencyLogo>sample string 10</ProposalCoverAgencyLogo>
  <ProposalCoverAgencyLogoURL>sample string 11</ProposalCoverAgencyLogoURL>
  <RFQEmailTo>sample string 8</RFQEmailTo>
  <ShowLogoOnAllInvoicePages>true</ShowLogoOnAllInvoicePages>
  <ShowLogoOnAllQuotePages>true</ShowLogoOnAllQuotePages>
  <ShowProjectNumber>true</ShowProjectNumber>
</AgencyPreferenceViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.