GET CreditStatus/GetCreditStatus?creditStatus={creditStatus}

Returns credit status details.

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
creditStatus

Credit status requested (optional)

string

Default value is string.Empty

Body Parameters

Response Information

Resource Description

Returns credit status details.

AgvCreditStatus
NameDescriptionTypeAdditional Information
Status

Status of the API call.

string
Message

Message of the API call.

string
Count

Count of how many CreditStatus JSON dictionaries.

string
CreditStatus

JSON of the CreditStatuses.

Collection of CreditStatus

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Message": "sample string 2",
  "Count": "2",
  "CreditStatus": [
    {
      "CredStatus": "sample string 1",
      "RequireReason": true,
      "AgvStatus": true,
      "CodOnly": true,
      "WarningMessage": "sample string 5"
    },
    {
      "CredStatus": "sample string 1",
      "RequireReason": true,
      "AgvStatus": true,
      "CodOnly": true,
      "WarningMessage": "sample string 5"
    }
  ]
}

application/xml, text/xml

Sample:
<AgvCreditStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Customer">
  <CreditStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/SKY.Core.AR">
    <d2p1:CreditStatus>
      <d2p1:AgvStatus>true</d2p1:AgvStatus>
      <d2p1:CodOnly>true</d2p1:CodOnly>
      <d2p1:CredStatus>sample string 1</d2p1:CredStatus>
      <d2p1:RequireReason>true</d2p1:RequireReason>
      <d2p1:WarningMessage>sample string 5</d2p1:WarningMessage>
    </d2p1:CreditStatus>
    <d2p1:CreditStatus>
      <d2p1:AgvStatus>true</d2p1:AgvStatus>
      <d2p1:CodOnly>true</d2p1:CodOnly>
      <d2p1:CredStatus>sample string 1</d2p1:CredStatus>
      <d2p1:RequireReason>true</d2p1:RequireReason>
      <d2p1:WarningMessage>sample string 5</d2p1:WarningMessage>
    </d2p1:CreditStatus>
  </CreditStatus>
  <Message>sample string 2</Message>
  <Status>sample string 1</Status>
</AgvCreditStatus>