POST api/Data/CreatePartner
Request Information
URI Parameters
None.
Body Parameters
ApiCreatePartnerRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PartnerIdaasId | string |
None. |
|
| PartnerName | string |
None. |
|
| SharedSecret | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PartnerIdaasId": "sample string 1",
"PartnerName": "sample string 2",
"SharedSecret": "sample string 3"
}
application/xml, text/xml
Sample:
<ApiCreatePartnerRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/m5api.Models"> <PartnerIdaasId>sample string 1</PartnerIdaasId> <PartnerName>sample string 2</PartnerName> <SharedSecret>sample string 3</SharedSecret> </ApiCreatePartnerRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiPartnerResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| errorMsg | string |
None. |
|
| Status | string |
None. |
|
| Partner | ApiPartner |
None. |
Response Formats
application/json, text/json
Sample:
{
"errorMsg": "sample string 1",
"Status": "sample string 2",
"Partner": {
"PartnerKey": "sample string 1",
"PartnerIdaasId": "sample string 2",
"PartnerName": "sample string 3",
"PartnerCode": "sample string 4",
"Routes": "sample string 5",
"Enabled": true,
"DefaultMessageCategoryId": 1,
"EmailFromAddress": "sample string 7",
"PartnerCustomerID": 1,
"PartnerOtpCustomerID": 1
}
}
application/xml, text/xml
Sample:
<ApiPartnerResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/m5api.Models">
<Partner>
<DefaultMessageCategoryId>1</DefaultMessageCategoryId>
<EmailFromAddress>sample string 7</EmailFromAddress>
<Enabled>true</Enabled>
<PartnerCode>sample string 4</PartnerCode>
<PartnerCustomerID>1</PartnerCustomerID>
<PartnerIdaasId>sample string 2</PartnerIdaasId>
<PartnerKey>sample string 1</PartnerKey>
<PartnerName>sample string 3</PartnerName>
<PartnerOtpCustomerID>1</PartnerOtpCustomerID>
<Routes>sample string 5</Routes>
</Partner>
<Status>sample string 2</Status>
<errorMsg>sample string 1</errorMsg>
</ApiPartnerResponse>