POST api/PostBook/UpdateCardDetails

Request Information

URI Parameters

None.

Body Parameters

FPUpdateCCDetailsRQ
NameDescriptionTypeAdditional information
UpdatedCCDetailsInfo

CCDetailsInfo

None.

SoapAuthentication

SoapAuthentication

None.

Request Formats

application/json, text/json

Sample:
{
  "UpdatedCCDetailsInfo": {
    "Guid": "sample string 1",
    "CardCode": 0,
    "CardHolderName": "sample string 2",
    "CCExpirationDate": "sample string 3",
    "CVNumber": "sample string 4",
    "CardNumber": "sample string 5",
    "BillingInfo": {
      "Phone": "sample string 1",
      "Email": "sample string 2",
      "Address1": "sample string 3",
      "Address2": "sample string 4",
      "City": "sample string 5",
      "State": "sample string 6",
      "Country": "sample string 7",
      "Zip": "sample string 8",
      "FlatNumber": "sample string 9",
      "ContactPhone": "sample string 10"
    }
  },
  "SoapAuthentication": {
    "UserName": "sample string 1",
    "Password": "sample string 2"
  }
}

text/html

Sample:
{"UpdatedCCDetailsInfo":{"Guid":"sample string 1","CardCode":0,"CardHolderName":"sample string 2","CCExpirationDate":"sample string 3","CVNumber":"sample string 4","CardNumber":"sample string 5","BillingInfo":{"Phone":"sample string 1","Email":"sample string 2","Address1":"sample string 3","Address2":"sample string 4","City":"sample string 5","State":"sample string 6","Country":"sample string 7","Zip":"sample string 8","FlatNumber":"sample string 9","ContactPhone":"sample string 10"}},"SoapAuthentication":{"UserName":"sample string 1","Password":"sample string 2"}}

application/xml, text/xml

Sample:
<FPUpdateCCDetailsRQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FPWebBox.BusinessObjects">
  <SoapAuthentication>
    <Password>sample string 2</Password>
    <UserName>sample string 1</UserName>
  </SoapAuthentication>
  <UpdatedCCDetailsInfo>
    <BillingInfo>
      <Address1>sample string 3</Address1>
      <Address2>sample string 4</Address2>
      <City>sample string 5</City>
      <ContactPhone>sample string 10</ContactPhone>
      <Country>sample string 7</Country>
      <Email>sample string 2</Email>
      <FlatNumber>sample string 9</FlatNumber>
      <Phone>sample string 1</Phone>
      <State>sample string 6</State>
      <Zip>sample string 8</Zip>
    </BillingInfo>
    <CCExpirationDate>sample string 3</CCExpirationDate>
    <CVNumber>sample string 4</CVNumber>
    <CardCode>VI</CardCode>
    <CardHolderName>sample string 2</CardHolderName>
    <CardNumber>sample string 5</CardNumber>
    <Guid>sample string 1</Guid>
  </UpdatedCCDetailsInfo>
</FPUpdateCCDetailsRQ>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

FPUpdateCCDetailsRS
NameDescriptionTypeAdditional information
ErrorCode

string

None.

ErrorAtNode

string

None.

NewPrice

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorCode": "sample string 1",
  "ErrorAtNode": "sample string 2",
  "NewPrice": 3.1
}

text/html

Sample:
{"ErrorCode":"sample string 1","ErrorAtNode":"sample string 2","NewPrice":3.1}

application/xml, text/xml

Sample:
<FPUpdateCCDetailsRS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FPWebBox.BusinessObjects">
  <ErrorAtNode>sample string 2</ErrorAtNode>
  <ErrorCode>sample string 1</ErrorCode>
  <NewPrice>3.1</NewPrice>
</FPUpdateCCDetailsRS>