POST api/Data/EnablePartnerForCustomer
Request Information
URI Parameters
None.
Body Parameters
ApiEnablePartnerForCustomerRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PartnerKey | string |
None. |
|
| CustomerCode | string |
None. |
|
| Routes | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PartnerKey": "sample string 1",
"CustomerCode": "sample string 2",
"Routes": "sample string 3"
}
application/xml, text/xml
Sample:
<ApiEnablePartnerForCustomerRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/m5api.Models"> <CustomerCode>sample string 2</CustomerCode> <PartnerKey>sample string 1</PartnerKey> <Routes>sample string 3</Routes> </ApiEnablePartnerForCustomerRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiCustomerResponse| Name | Description | Type | Additional 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>