POST api/PaymentMethod/UpdateTermAccount

Request Information

URI Parameters

None.

Body Parameters

TermAccount
NameDescriptionTypeAdditional information
CellIds

Collection of string

None.

BillingAddressId

integer

None.

ApEmail

string

None.

ApPhone

string

None.

ApLastName

string

None.

ApFirstName

string

None.

DisplayBalance

decimal number

None.

StatementApOnly

boolean

None.

StatementApContact

boolean

None.

StatementPrimary

boolean

None.

InvoiceApOnly

boolean

None.

InvoiceApContact

boolean

None.

InvoicePrimary

boolean

None.

InvoiceCustomer

boolean

None.

PlatinumBalance

decimal number

None.

StatementAutomate

boolean

None.

Terms

TermAccountTerms

None.

TaxExempt

boolean

None.

CompanyName

string

None.

ImageUrl

string

None.

PrimaryCustomerId

integer

None.

AccountOwners

Collection of TermAccountAccess

None.

AccountId

integer

None.

Name

string

None.

ConsolidatedInvoice

boolean

None.

ConsolidatedCellId

string

None.

Enrollments

integer

None.

ActualBalance

decimal number

None.

Balance

decimal number

None.

CustomerId

integer

None.

PersonalBalance

decimal number

None.

FriendlyAccountLabel

string

None.

FriendlyAccountId

string

None.

AvailableCredit

decimal number

None.

OutstandingBalance

decimal number

None.

EnableDateFilter

boolean

None.

NextDateEnable

date

None.

CreditLimit

decimal number

None.

PickupEnabled

boolean

None.

DeliveryEnabled

boolean

None.

MinOrderAmount

decimal number

None.

MaxOrderAmount

decimal number

None.

Solicitation

boolean

None.

ConsolidatedInvoicingFreq

integer

None.

CreditHold

boolean

None.

IsDefault

boolean

None.

UniqueId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CellIds": [
    "sample string 1",
    "sample string 2"
  ],
  "BillingAddressId": 1,
  "ApEmail": "sample string 2",
  "ApPhone": "sample string 3",
  "ApLastName": "sample string 4",
  "ApFirstName": "sample string 5",
  "DisplayBalance": 6.0,
  "StatementApOnly": true,
  "StatementApContact": true,
  "StatementPrimary": true,
  "InvoiceApOnly": true,
  "InvoiceApContact": true,
  "InvoicePrimary": true,
  "InvoiceCustomer": true,
  "PlatinumBalance": 14.0,
  "StatementAutomate": true,
  "Terms": {},
  "TaxExempt": true,
  "CompanyName": "sample string 17",
  "ImageUrl": "sample string 18",
  "PrimaryCustomerId": 19,
  "AccountOwners": [
    {
      "Limit": {
        "LimitId": 1,
        "TermAccountId": 2,
        "Name": "sample string 3",
        "DailyLimit": 1.0,
        "WeeklyLimit": 1.0,
        "MonthlyLimit": 1.0,
        "LimitInfo": "sample string 4"
      },
      "FriendlyNameAndLimit": "sample string 1",
      "TermAccountId": 2,
      "DailyLimit": 1.0,
      "WeeklyLimit": 1.0,
      "MonthlyLimit": 1.0,
      "Gatekeeper": true,
      "Active": true,
      "LimitId": 1,
      "Tag": "sample string 5",
      "LimitName": "sample string 6",
      "ContactInfoHtml": "sample string 7",
      "LimitInfo": "sample string 8",
      "ContactInfoShort": "sample string 9",
      "ContactName": "sample string 10",
      "LifetimeSpend": 11.0,
      "Name": "sample string 12",
      "Firstname": "sample string 13",
      "Lastname": "sample string 14",
      "Email": "sample string 15",
      "CustomerId": 16
    },
    {
      "Limit": {
        "LimitId": 1,
        "TermAccountId": 2,
        "Name": "sample string 3",
        "DailyLimit": 1.0,
        "WeeklyLimit": 1.0,
        "MonthlyLimit": 1.0,
        "LimitInfo": "sample string 4"
      },
      "FriendlyNameAndLimit": "sample string 1",
      "TermAccountId": 2,
      "DailyLimit": 1.0,
      "WeeklyLimit": 1.0,
      "MonthlyLimit": 1.0,
      "Gatekeeper": true,
      "Active": true,
      "LimitId": 1,
      "Tag": "sample string 5",
      "LimitName": "sample string 6",
      "ContactInfoHtml": "sample string 7",
      "LimitInfo": "sample string 8",
      "ContactInfoShort": "sample string 9",
      "ContactName": "sample string 10",
      "LifetimeSpend": 11.0,
      "Name": "sample string 12",
      "Firstname": "sample string 13",
      "Lastname": "sample string 14",
      "Email": "sample string 15",
      "CustomerId": 16
    }
  ],
  "AccountId": 20,
  "Name": "sample string 21",
  "ConsolidatedInvoice": true,
  "ConsolidatedCellId": "sample string 23",
  "Enrollments": 24,
  "ActualBalance": 25.1,
  "Balance": 26.0,
  "CustomerId": 1,
  "PersonalBalance": 1.0,
  "FriendlyAccountLabel": "sample string 27",
  "FriendlyAccountId": "sample string 28",
  "AvailableCredit": 29.0,
  "OutstandingBalance": 30.0,
  "EnableDateFilter": true,
  "NextDateEnable": "2024-11-20T00:27:12.6316266-08:00",
  "CreditLimit": 32.0,
  "PickupEnabled": true,
  "DeliveryEnabled": true,
  "MinOrderAmount": 1.1,
  "MaxOrderAmount": 1.1,
  "Solicitation": true,
  "ConsolidatedInvoicingFreq": 35,
  "CreditHold": true,
  "IsDefault": true,
  "UniqueId": "sample string 38"
}

text/html

Sample:
{"CellIds":["sample string 1","sample string 2"],"BillingAddressId":1,"ApEmail":"sample string 2","ApPhone":"sample string 3","ApLastName":"sample string 4","ApFirstName":"sample string 5","DisplayBalance":6.0,"StatementApOnly":true,"StatementApContact":true,"StatementPrimary":true,"InvoiceApOnly":true,"InvoiceApContact":true,"InvoicePrimary":true,"InvoiceCustomer":true,"PlatinumBalance":14.0,"StatementAutomate":true,"Terms":{},"TaxExempt":true,"CompanyName":"sample string 17","ImageUrl":"sample string 18","PrimaryCustomerId":19,"AccountOwners":[{"Limit":{"LimitId":1,"TermAccountId":2,"Name":"sample string 3","DailyLimit":1.0,"WeeklyLimit":1.0,"MonthlyLimit":1.0,"LimitInfo":"sample string 4"},"FriendlyNameAndLimit":"sample string 1","TermAccountId":2,"DailyLimit":1.0,"WeeklyLimit":1.0,"MonthlyLimit":1.0,"Gatekeeper":true,"Active":true,"LimitId":1,"Tag":"sample string 5","LimitName":"sample string 6","ContactInfoHtml":"sample string 7","LimitInfo":"sample string 8","ContactInfoShort":"sample string 9","ContactName":"sample string 10","LifetimeSpend":11.0,"Name":"sample string 12","Firstname":"sample string 13","Lastname":"sample string 14","Email":"sample string 15","CustomerId":16},{"Limit":{"LimitId":1,"TermAccountId":2,"Name":"sample string 3","DailyLimit":1.0,"WeeklyLimit":1.0,"MonthlyLimit":1.0,"LimitInfo":"sample string 4"},"FriendlyNameAndLimit":"sample string 1","TermAccountId":2,"DailyLimit":1.0,"WeeklyLimit":1.0,"MonthlyLimit":1.0,"Gatekeeper":true,"Active":true,"LimitId":1,"Tag":"sample string 5","LimitName":"sample string 6","ContactInfoHtml":"sample string 7","LimitInfo":"sample string 8","ContactInfoShort":"sample string 9","ContactName":"sample string 10","LifetimeSpend":11.0,"Name":"sample string 12","Firstname":"sample string 13","Lastname":"sample string 14","Email":"sample string 15","CustomerId":16}],"AccountId":20,"Name":"sample string 21","ConsolidatedInvoice":true,"ConsolidatedCellId":"sample string 23","Enrollments":24,"ActualBalance":25.1,"Balance":26.0,"CustomerId":1,"PersonalBalance":1.0,"FriendlyAccountLabel":"sample string 27","FriendlyAccountId":"sample string 28","AvailableCredit":29.0,"OutstandingBalance":30.0,"EnableDateFilter":true,"NextDateEnable":"2024-11-20T00:27:12.6316266-08:00","CreditLimit":32.0,"PickupEnabled":true,"DeliveryEnabled":true,"MinOrderAmount":1.1,"MaxOrderAmount":1.1,"Solicitation":true,"ConsolidatedInvoicingFreq":35,"CreditHold":true,"IsDefault":true,"UniqueId":"sample string 38"}

application/xml, text/xml

Sample:
<TermAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Specialtys.DTO">
  <AccountId>20</AccountId>
  <AccountOwners>
    <TermAccountAccess>
      <Active>true</Active>
      <ContactInfoHtml>sample string 7</ContactInfoHtml>
      <ContactInfoShort>sample string 9</ContactInfoShort>
      <ContactName>sample string 10</ContactName>
      <CustomerId>16</CustomerId>
      <DailyLimit>1</DailyLimit>
      <Email>sample string 15</Email>
      <Firstname>sample string 13</Firstname>
      <FriendlyNameAndLimit>sample string 1</FriendlyNameAndLimit>
      <Gatekeeper>true</Gatekeeper>
      <Lastname>sample string 14</Lastname>
      <LifetimeSpend>11</LifetimeSpend>
      <Limit>
        <DailyLimit>1</DailyLimit>
        <LimitId>1</LimitId>
        <LimitInfo>sample string 4</LimitInfo>
        <MonthlyLimit>1</MonthlyLimit>
        <Name>sample string 3</Name>
        <TermAccountId>2</TermAccountId>
        <WeeklyLimit>1</WeeklyLimit>
      </Limit>
      <LimitId>1</LimitId>
      <LimitInfo>sample string 8</LimitInfo>
      <LimitName>sample string 6</LimitName>
      <MonthlyLimit>1</MonthlyLimit>
      <Name>sample string 12</Name>
      <Tag>sample string 5</Tag>
      <TermAccountId>2</TermAccountId>
      <WeeklyLimit>1</WeeklyLimit>
    </TermAccountAccess>
    <TermAccountAccess>
      <Active>true</Active>
      <ContactInfoHtml>sample string 7</ContactInfoHtml>
      <ContactInfoShort>sample string 9</ContactInfoShort>
      <ContactName>sample string 10</ContactName>
      <CustomerId>16</CustomerId>
      <DailyLimit>1</DailyLimit>
      <Email>sample string 15</Email>
      <Firstname>sample string 13</Firstname>
      <FriendlyNameAndLimit>sample string 1</FriendlyNameAndLimit>
      <Gatekeeper>true</Gatekeeper>
      <Lastname>sample string 14</Lastname>
      <LifetimeSpend>11</LifetimeSpend>
      <Limit>
        <DailyLimit>1</DailyLimit>
        <LimitId>1</LimitId>
        <LimitInfo>sample string 4</LimitInfo>
        <MonthlyLimit>1</MonthlyLimit>
        <Name>sample string 3</Name>
        <TermAccountId>2</TermAccountId>
        <WeeklyLimit>1</WeeklyLimit>
      </Limit>
      <LimitId>1</LimitId>
      <LimitInfo>sample string 8</LimitInfo>
      <LimitName>sample string 6</LimitName>
      <MonthlyLimit>1</MonthlyLimit>
      <Name>sample string 12</Name>
      <Tag>sample string 5</Tag>
      <TermAccountId>2</TermAccountId>
      <WeeklyLimit>1</WeeklyLimit>
    </TermAccountAccess>
  </AccountOwners>
  <ActualBalance>25.1</ActualBalance>
  <ApEmail>sample string 2</ApEmail>
  <ApFirstName>sample string 5</ApFirstName>
  <ApLastName>sample string 4</ApLastName>
  <ApPhone>sample string 3</ApPhone>
  <AvailableCredit>29</AvailableCredit>
  <Balance>26</Balance>
  <BillingAddressId>1</BillingAddressId>
  <CellIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </CellIds>
  <CompanyName>sample string 17</CompanyName>
  <ConsolidatedCellId>sample string 23</ConsolidatedCellId>
  <ConsolidatedInvoice>true</ConsolidatedInvoice>
  <ConsolidatedInvoicingFreq>35</ConsolidatedInvoicingFreq>
  <CreditHold>true</CreditHold>
  <CreditLimit>32</CreditLimit>
  <CustomerId>1</CustomerId>
  <DeliveryEnabled>true</DeliveryEnabled>
  <DisplayBalance>6</DisplayBalance>
  <EnableDateFilter>true</EnableDateFilter>
  <Enrollments>24</Enrollments>
  <FriendlyAccountId>sample string 28</FriendlyAccountId>
  <FriendlyAccountLabel>sample string 27</FriendlyAccountLabel>
  <ImageUrl>sample string 18</ImageUrl>
  <InvoiceApContact>true</InvoiceApContact>
  <InvoiceApOnly>true</InvoiceApOnly>
  <InvoiceCustomer>true</InvoiceCustomer>
  <InvoicePrimary>true</InvoicePrimary>
  <IsDefault>true</IsDefault>
  <MaxOrderAmount>1.1</MaxOrderAmount>
  <MinOrderAmount>1.1</MinOrderAmount>
  <Name>sample string 21</Name>
  <NextDateEnable>2024-11-20T00:27:12.6316266-08:00</NextDateEnable>
  <OutstandingBalance>30</OutstandingBalance>
  <PersonalBalance>1</PersonalBalance>
  <PickupEnabled>true</PickupEnabled>
  <PlatinumBalance>14</PlatinumBalance>
  <PrimaryCustomerId>19</PrimaryCustomerId>
  <Solicitation>true</Solicitation>
  <StatementApContact>true</StatementApContact>
  <StatementApOnly>true</StatementApOnly>
  <StatementAutomate>true</StatementAutomate>
  <StatementPrimary>true</StatementPrimary>
  <TaxExempt>true</TaxExempt>
  <Terms />
  <UniqueId>sample string 38</UniqueId>
</TermAccount>

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.