POST api/Data/EditPartner

Request Information

URI Parameters

None.

Body Parameters

ApiEditPartnerRequest
NameDescriptionTypeAdditional information
PartnerKey

string

None.

PartnerName

string

None.

Routes

string

None.

EmailFromAddress

string

None.

SendGridApiKey

string

None.

DefaultMessageCategoryId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PartnerKey": "sample string 1",
  "PartnerName": "sample string 2",
  "Routes": "sample string 3",
  "EmailFromAddress": "sample string 4",
  "SendGridApiKey": "sample string 5",
  "DefaultMessageCategoryId": 1
}

application/xml, text/xml

Sample:
<ApiEditPartnerRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/m5api.Models">
  <DefaultMessageCategoryId>1</DefaultMessageCategoryId>
  <EmailFromAddress>sample string 4</EmailFromAddress>
  <PartnerKey>sample string 1</PartnerKey>
  <PartnerName>sample string 2</PartnerName>
  <Routes>sample string 3</Routes>
  <SendGridApiKey>sample string 5</SendGridApiKey>
</ApiEditPartnerRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiPartnerResponse
NameDescriptionTypeAdditional 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>