POST apiwba/bap/xnbypartner

Request Information

URI Parameters

None.

Body Parameters

GetXnByPartnerInput
NameDescriptionTypeAdditional information
System

string

None.

PartnerID

integer

None.

Username

string

None.

Password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "System": "sample string 1",
  "PartnerID": 2,
  "Username": "sample string 3",
  "Password": "sample string 4"
}

application/xml, text/xml

Sample:
<GetXnByPartnerInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model">
  <Password xmlns="http://schemas.datacontract.org/2004/07/Entities.Common">sample string 4</Password>
  <Username xmlns="http://schemas.datacontract.org/2004/07/Entities.Common">sample string 3</Username>
  <PartnerID>2</PartnerID>
  <System>sample string 1</System>
</GetXnByPartnerInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetXnByPartnerResult
NameDescriptionTypeAdditional information
Data

Collection of XnByPartnerInfo

None.

ProcessErrorType

integer

None.

ProcessErrorDescription

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "XNCode": 1,
      "IsActived": true,
      "IsBlockXNCode": true,
      "ChildCount": 4
    },
    {
      "XNCode": 1,
      "IsActived": true,
      "IsBlockXNCode": true,
      "ChildCount": 4
    }
  ],
  "ProcessErrorType": 1,
  "ProcessErrorDescription": "sample string 2"
}

application/xml, text/xml

Sample:
<GetXnByPartnerResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model">
  <ProcessErrorDescription xmlns="http://schemas.datacontract.org/2004/07/Entities.Common">sample string 2</ProcessErrorDescription>
  <ProcessErrorType xmlns="http://schemas.datacontract.org/2004/07/Entities.Common">1</ProcessErrorType>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/DataAccess.Entities.BAP">
    <d2p1:XnByPartnerInfo>
      <d2p1:ChildCount>4</d2p1:ChildCount>
      <d2p1:IsActived>true</d2p1:IsActived>
      <d2p1:IsBlockXNCode>true</d2p1:IsBlockXNCode>
      <d2p1:XNCode>1</d2p1:XNCode>
    </d2p1:XnByPartnerInfo>
    <d2p1:XnByPartnerInfo>
      <d2p1:ChildCount>4</d2p1:ChildCount>
      <d2p1:IsActived>true</d2p1:IsActived>
      <d2p1:IsBlockXNCode>true</d2p1:IsBlockXNCode>
      <d2p1:XNCode>1</d2p1:XNCode>
    </d2p1:XnByPartnerInfo>
  </Data>
</GetXnByPartnerResult>