GET api/Data/ApiKeyForCustomer?PartnerKey={PartnerKey}&CustomerId={CustomerId}&CustomerCode={CustomerCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PartnerKey

string

Required

CustomerId

integer

Required

CustomerCode

string

Required

Body Parameters

None.

Response Information

Resource Description

ApiCustomerResponse
NameDescriptionTypeAdditional information
errorMsg

string

None.

Customer

ApiCustomer

None.

Response Formats

application/json, text/json

Sample:
{
  "errorMsg": "sample string 1",
  "Customer": {
    "Customerid": 1,
    "CustomerCode": "sample string 2",
    "Name": "sample string 3",
    "ApiKey": "sample string 4",
    "attributes": "sample string 5",
    "Logo": "sample string 6"
  }
}

application/xml, text/xml

Sample:
<ApiCustomerResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/m5api.Models">
  <Customer>
    <ApiKey>sample string 4</ApiKey>
    <CustomerCode>sample string 2</CustomerCode>
    <Customerid>1</Customerid>
    <Logo>sample string 6</Logo>
    <Name>sample string 3</Name>
    <attributes>sample string 5</attributes>
  </Customer>
  <errorMsg>sample string 1</errorMsg>
</ApiCustomerResponse>