PUT CustomerAED/PutCustomerCreditInfoPrivateRestricted

Edit a Customer

Request Information

URI Parameters

Body Parameters

The Customer object used to update the AR information

ClsCustomerEditCreditInfo
NameDescriptionTypeAdditional Information
GrowId

The customer id to update the credit information for

string

Required

Max length: 6

CreditLimit

Credit Limit maximum dollars

decimal number

Required

Max of 2 decimal places

CurrentAr

Customer's current AR balance

decimal number

Required

Max of 2 decimal places

CurrentWip

Customer's current Work in Progress dollar balance

decimal number

Required

Max of 2 decimal places

Request Formats

application/json, text/json

Sample:
{
  "GrowId": "sample string 2",
  "CreditLimit": 3.1,
  "CurrentAr": 4.1,
  "CurrentWip": 5.1
}

application/xml, text/xml

Sample:
<ClsCustomer.ClsCustomerEditCreditInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SKY.Core.Customer">
  <CreditLimit>3.1</CreditLimit>
  <CurrentAr>4.1</CurrentAr>
  <CurrentWip>5.1</CurrentWip>
  <GrowId>sample string 2</GrowId>
</ClsCustomer.ClsCustomerEditCreditInfo>

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 'ClsCustomerEditCreditInfo'.

Response Information

Resource Description

Edit a Customer

AgvCustomerAED
NameDescriptionTypeAdditional Information
Status

Status of the API call.

string
Message

Message of the API call.

string
ErrorList

List of error messages of the API call.

Collection of string
WarningList

List of warning messages of the API call.

Collection of string

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Message": "sample string 2",
  "ErrorList": [
    "sample string 1",
    "sample string 2"
  ],
  "WarningList": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<AgvCustomerAED xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Customer">
  <ErrorList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ErrorList>
  <Message>sample string 2</Message>
  <Status>sample string 1</Status>
  <WarningList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </WarningList>
</AgvCustomerAED>