POST Api/AffiliateClient/AddNewAffiliateApplication

Uzmanın ön ödemeli testleri email ve sms ile göndermektedir.

Request Information

URI Parameters

None.

Body Parameters

Collection of Basket
NameDescriptionTypeAdditional information
BasketProtectedGuid

string

None.

Id

string

None.

MerchantCode

string

None.

Name

string

None.

Category1

string

None.

Category2

string

None.

ItemType

string

None.

UnitPrice

decimal number

None.

Count

integer

None.

Price

decimal number

None.

WorkspaceGuid

string

None.

RegistrationDate

date

None.

Instance

string

None.

PublicIdentificationGuid

string

None.

ClientGuid

string

None.

AffiliateTestId

string

None.

AffiliateID

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "BasketProtectedGuid": "sample string 1",
    "Id": "sample string 2",
    "MerchantCode": "sample string 3",
    "Name": "sample string 4",
    "Category1": "sample string 5",
    "Category2": "sample string 6",
    "ItemType": "sample string 7",
    "UnitPrice": 8.0,
    "Count": 9,
    "Price": 10.0,
    "WorkspaceGuid": "sample string 11",
    "RegistrationDate": "2024-03-03T15:15:24.1544734+03:00",
    "Instance": "sample string 13",
    "PublicIdentificationGuid": "sample string 14",
    "ClientGuid": "sample string 15",
    "AffiliateTestId": "sample string 16",
    "AffiliateID": "sample string 17"
  },
  {
    "BasketProtectedGuid": "sample string 1",
    "Id": "sample string 2",
    "MerchantCode": "sample string 3",
    "Name": "sample string 4",
    "Category1": "sample string 5",
    "Category2": "sample string 6",
    "ItemType": "sample string 7",
    "UnitPrice": 8.0,
    "Count": 9,
    "Price": 10.0,
    "WorkspaceGuid": "sample string 11",
    "RegistrationDate": "2024-03-03T15:15:24.1544734+03:00",
    "Instance": "sample string 13",
    "PublicIdentificationGuid": "sample string 14",
    "ClientGuid": "sample string 15",
    "AffiliateTestId": "sample string 16",
    "AffiliateID": "sample string 17"
  }
]

text/html

Sample:
[{"BasketProtectedGuid":"sample string 1","Id":"sample string 2","MerchantCode":"sample string 3","Name":"sample string 4","Category1":"sample string 5","Category2":"sample string 6","ItemType":"sample string 7","UnitPrice":8.0,"Count":9,"Price":10.0,"WorkspaceGuid":"sample string 11","RegistrationDate":"2024-03-03T15:15:24.1544734+03:00","Instance":"sample string 13","PublicIdentificationGuid":"sample string 14","ClientGuid":"sample string 15","AffiliateTestId":"sample string 16","AffiliateID":"sample string 17"},{"BasketProtectedGuid":"sample string 1","Id":"sample string 2","MerchantCode":"sample string 3","Name":"sample string 4","Category1":"sample string 5","Category2":"sample string 6","ItemType":"sample string 7","UnitPrice":8.0,"Count":9,"Price":10.0,"WorkspaceGuid":"sample string 11","RegistrationDate":"2024-03-03T15:15:24.1544734+03:00","Instance":"sample string 13","PublicIdentificationGuid":"sample string 14","ClientGuid":"sample string 15","AffiliateTestId":"sample string 16","AffiliateID":"sample string 17"}]

application/xml, text/xml

Sample:
<ArrayOfBasket xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/we.net.dto.apiobjects.global">
  <Basket>
    <AffiliateID>sample string 17</AffiliateID>
    <AffiliateTestId>sample string 16</AffiliateTestId>
    <BasketProtectedGuid>sample string 1</BasketProtectedGuid>
    <Category1>sample string 5</Category1>
    <Category2>sample string 6</Category2>
    <ClientGuid>sample string 15</ClientGuid>
    <Count>9</Count>
    <Id>sample string 2</Id>
    <Instance>sample string 13</Instance>
    <ItemType>sample string 7</ItemType>
    <MerchantCode>sample string 3</MerchantCode>
    <Name>sample string 4</Name>
    <Price>10</Price>
    <PublicIdentificationGuid>sample string 14</PublicIdentificationGuid>
    <RegistrationDate>2024-03-03T15:15:24.1544734+03:00</RegistrationDate>
    <UnitPrice>8</UnitPrice>
    <WorkspaceGuid>sample string 11</WorkspaceGuid>
  </Basket>
  <Basket>
    <AffiliateID>sample string 17</AffiliateID>
    <AffiliateTestId>sample string 16</AffiliateTestId>
    <BasketProtectedGuid>sample string 1</BasketProtectedGuid>
    <Category1>sample string 5</Category1>
    <Category2>sample string 6</Category2>
    <ClientGuid>sample string 15</ClientGuid>
    <Count>9</Count>
    <Id>sample string 2</Id>
    <Instance>sample string 13</Instance>
    <ItemType>sample string 7</ItemType>
    <MerchantCode>sample string 3</MerchantCode>
    <Name>sample string 4</Name>
    <Price>10</Price>
    <PublicIdentificationGuid>sample string 14</PublicIdentificationGuid>
    <RegistrationDate>2024-03-03T15:15:24.1544734+03:00</RegistrationDate>
    <UnitPrice>8</UnitPrice>
    <WorkspaceGuid>sample string 11</WorkspaceGuid>
  </Basket>
</ArrayOfBasket>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CustomResponseObjectOfIEnumerableOfBasket
NameDescriptionTypeAdditional information
CustomResponseState

boolean

None.

CustomResponseMessage

string

None.

CustomObject

Collection of Basket

None.

CustomRedirectionUri

string

None.

GlobalRequestToken

string

None.

Response Formats

application/json, text/json

Sample:
{
  "CustomResponseState": true,
  "CustomResponseMessage": "sample string 2",
  "CustomObject": [
    {
      "BasketProtectedGuid": "sample string 1",
      "Id": "sample string 2",
      "MerchantCode": "sample string 3",
      "Name": "sample string 4",
      "Category1": "sample string 5",
      "Category2": "sample string 6",
      "ItemType": "sample string 7",
      "UnitPrice": 8.0,
      "Count": 9,
      "Price": 10.0,
      "WorkspaceGuid": "sample string 11",
      "RegistrationDate": "2024-03-03T15:15:24.1544734+03:00",
      "Instance": "sample string 13",
      "PublicIdentificationGuid": "sample string 14",
      "ClientGuid": "sample string 15",
      "AffiliateTestId": "sample string 16",
      "AffiliateID": "sample string 17"
    },
    {
      "BasketProtectedGuid": "sample string 1",
      "Id": "sample string 2",
      "MerchantCode": "sample string 3",
      "Name": "sample string 4",
      "Category1": "sample string 5",
      "Category2": "sample string 6",
      "ItemType": "sample string 7",
      "UnitPrice": 8.0,
      "Count": 9,
      "Price": 10.0,
      "WorkspaceGuid": "sample string 11",
      "RegistrationDate": "2024-03-03T15:15:24.1544734+03:00",
      "Instance": "sample string 13",
      "PublicIdentificationGuid": "sample string 14",
      "ClientGuid": "sample string 15",
      "AffiliateTestId": "sample string 16",
      "AffiliateID": "sample string 17"
    }
  ],
  "CustomRedirectionUri": "sample string 3",
  "GlobalRequestToken": "sample string 4"
}

text/html

Sample:
{"CustomResponseState":true,"CustomResponseMessage":"sample string 2","CustomObject":[{"BasketProtectedGuid":"sample string 1","Id":"sample string 2","MerchantCode":"sample string 3","Name":"sample string 4","Category1":"sample string 5","Category2":"sample string 6","ItemType":"sample string 7","UnitPrice":8.0,"Count":9,"Price":10.0,"WorkspaceGuid":"sample string 11","RegistrationDate":"2024-03-03T15:15:24.1544734+03:00","Instance":"sample string 13","PublicIdentificationGuid":"sample string 14","ClientGuid":"sample string 15","AffiliateTestId":"sample string 16","AffiliateID":"sample string 17"},{"BasketProtectedGuid":"sample string 1","Id":"sample string 2","MerchantCode":"sample string 3","Name":"sample string 4","Category1":"sample string 5","Category2":"sample string 6","ItemType":"sample string 7","UnitPrice":8.0,"Count":9,"Price":10.0,"WorkspaceGuid":"sample string 11","RegistrationDate":"2024-03-03T15:15:24.1544734+03:00","Instance":"sample string 13","PublicIdentificationGuid":"sample string 14","ClientGuid":"sample string 15","AffiliateTestId":"sample string 16","AffiliateID":"sample string 17"}],"CustomRedirectionUri":"sample string 3","GlobalRequestToken":"sample string 4"}

application/xml, text/xml

Sample:
<CustomResponseObjectOfArrayOfBasketlALm2WVN xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/we.net.dto">
  <CustomObject xmlns:d2p1="http://schemas.datacontract.org/2004/07/we.net.dto.apiobjects.global">
    <d2p1:Basket>
      <d2p1:AffiliateID>sample string 17</d2p1:AffiliateID>
      <d2p1:AffiliateTestId>sample string 16</d2p1:AffiliateTestId>
      <d2p1:BasketProtectedGuid>sample string 1</d2p1:BasketProtectedGuid>
      <d2p1:Category1>sample string 5</d2p1:Category1>
      <d2p1:Category2>sample string 6</d2p1:Category2>
      <d2p1:ClientGuid>sample string 15</d2p1:ClientGuid>
      <d2p1:Count>9</d2p1:Count>
      <d2p1:Id>sample string 2</d2p1:Id>
      <d2p1:Instance>sample string 13</d2p1:Instance>
      <d2p1:ItemType>sample string 7</d2p1:ItemType>
      <d2p1:MerchantCode>sample string 3</d2p1:MerchantCode>
      <d2p1:Name>sample string 4</d2p1:Name>
      <d2p1:Price>10</d2p1:Price>
      <d2p1:PublicIdentificationGuid>sample string 14</d2p1:PublicIdentificationGuid>
      <d2p1:RegistrationDate>2024-03-03T15:15:24.1544734+03:00</d2p1:RegistrationDate>
      <d2p1:UnitPrice>8</d2p1:UnitPrice>
      <d2p1:WorkspaceGuid>sample string 11</d2p1:WorkspaceGuid>
    </d2p1:Basket>
    <d2p1:Basket>
      <d2p1:AffiliateID>sample string 17</d2p1:AffiliateID>
      <d2p1:AffiliateTestId>sample string 16</d2p1:AffiliateTestId>
      <d2p1:BasketProtectedGuid>sample string 1</d2p1:BasketProtectedGuid>
      <d2p1:Category1>sample string 5</d2p1:Category1>
      <d2p1:Category2>sample string 6</d2p1:Category2>
      <d2p1:ClientGuid>sample string 15</d2p1:ClientGuid>
      <d2p1:Count>9</d2p1:Count>
      <d2p1:Id>sample string 2</d2p1:Id>
      <d2p1:Instance>sample string 13</d2p1:Instance>
      <d2p1:ItemType>sample string 7</d2p1:ItemType>
      <d2p1:MerchantCode>sample string 3</d2p1:MerchantCode>
      <d2p1:Name>sample string 4</d2p1:Name>
      <d2p1:Price>10</d2p1:Price>
      <d2p1:PublicIdentificationGuid>sample string 14</d2p1:PublicIdentificationGuid>
      <d2p1:RegistrationDate>2024-03-03T15:15:24.1544734+03:00</d2p1:RegistrationDate>
      <d2p1:UnitPrice>8</d2p1:UnitPrice>
      <d2p1:WorkspaceGuid>sample string 11</d2p1:WorkspaceGuid>
    </d2p1:Basket>
  </CustomObject>
  <CustomRedirectionUri>sample string 3</CustomRedirectionUri>
  <CustomResponseMessage>sample string 2</CustomResponseMessage>
  <CustomResponseState>true</CustomResponseState>
  <GlobalRequestToken>sample string 4</GlobalRequestToken>
</CustomResponseObjectOfArrayOfBasketlALm2WVN>