POST api/UPCMerchantMappingsRest

Request Information

URI Parameters

None.

Body Parameters

UPCMerchantMapping
NameDescriptionTypeAdditional information
UPCMerchantMappingID

integer

None.

MerchantID

integer

None.

UPC

string

None.

MerchantName

string

None.

MerchantAccountNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UPCMerchantMappingID": 1,
  "MerchantID": 2,
  "UPC": "sample string 3",
  "MerchantName": "sample string 4",
  "MerchantAccountNumber": "sample string 5"
}

application/xml, text/xml

Sample:
<UPCMerchantMapping xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InnoBank.Models">
  <MerchantAccountNumber>sample string 5</MerchantAccountNumber>
  <MerchantID>2</MerchantID>
  <MerchantName>sample string 4</MerchantName>
  <UPC>sample string 3</UPC>
  <UPCMerchantMappingID>1</UPCMerchantMappingID>
</UPCMerchantMapping>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UPCMerchantMapping
NameDescriptionTypeAdditional information
UPCMerchantMappingID

integer

None.

MerchantID

integer

None.

UPC

string

None.

MerchantName

string

None.

MerchantAccountNumber

string

None.

Response Formats

application/json, text/json

Sample:
{
  "UPCMerchantMappingID": 1,
  "MerchantID": 2,
  "UPC": "sample string 3",
  "MerchantName": "sample string 4",
  "MerchantAccountNumber": "sample string 5"
}

application/xml, text/xml

Sample:
<UPCMerchantMapping xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InnoBank.Models">
  <MerchantAccountNumber>sample string 5</MerchantAccountNumber>
  <MerchantID>2</MerchantID>
  <MerchantName>sample string 4</MerchantName>
  <UPC>sample string 3</UPC>
  <UPCMerchantMappingID>1</UPCMerchantMappingID>
</UPCMerchantMapping>