PUT api/Reseller/SaveReseller

Documentation for 'SaveReseller'.

Request Information

Parameters

NameDescriptionAdditional information
resellerDetail
Documentation for 'resellerDetail'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "resellerAddress": {
    "companyName": "sample string 1",
    "contactPerson": "sample string 2",
    "address1": "sample string 3",
    "address2": "sample string 4",
    "country": "sample string 5",
    "zip": "sample string 6",
    "city": "sample string 7",
    "createdUser": "sample string 8",
    "createdDate": "2019-08-18T03:59:43.7970175+02:00",
    "modifiedUser": "sample string 10",
    "modifiedDate": "2019-08-18T03:59:43.7980131+02:00",
    "addressType_Id": 12,
    "reseller_Id": 13,
    "isResellerAddress": true,
    "id": 15
  },
  "reseller": {
    "shortName": "sample string 1",
    "phoneNumber": "sample string 2",
    "faxNumber": "sample string 3",
    "mobile": "sample string 4",
    "url": "sample string 5",
    "email": "sample string 6",
    "vatDuty": true,
    "vatIncluded": true,
    "vatNumber": "sample string 7",
    "vatPercent": 1.1,
    "largeLogoPath": "sample string 8",
    "smallLogoPath": "sample string 9",
    "token": "sample string 10",
    "isDefault": true,
    "resellerNumber": "sample string 12",
    "language_Id": 13,
    "language": {
      "name": "sample string 1",
      "code": "sample string 2",
      "sequence": 3,
      "active": true,
      "imageUrl": "sample string 5",
      "getFullString": "7;sample string 2;sample string 1",
      "literalInternVersion": 6,
      "id": 7
    },
    "priceList_Id": 14,
    "createdDate": "2019-08-18T03:59:43.7980131+02:00",
    "modifiedDate": "2019-08-18T03:59:43.7980131+02:00",
    "priceList": {
      "name": "sample string 1",
      "currency_Id": 2,
      "currency": {
        "isoCode": "sample string 1",
        "description": "sample string 2",
        "id": 3
      },
      "id": 3
    },
    "level": 15,
    "isStandalone": true,
    "id": 17
  },
  "id": 1
}

application/xml, text/xml

Sample:
<ResellerDetailVM xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Id>1</Id>
  <ResellerAddress>
    <Id>15</Id>
    <CompanyName>sample string 1</CompanyName>
    <ContactPerson>sample string 2</ContactPerson>
    <Address1>sample string 3</Address1>
    <Address2>sample string 4</Address2>
    <Country>sample string 5</Country>
    <Zip>sample string 6</Zip>
    <City>sample string 7</City>
    <CreatedUser>sample string 8</CreatedUser>
    <CreatedDate>2019-08-18T03:59:43.7970175+02:00</CreatedDate>
    <ModifiedUser>sample string 10</ModifiedUser>
    <ModifiedDate>2019-08-18T03:59:43.7980131+02:00</ModifiedDate>
    <AddressType_Id>12</AddressType_Id>
    <Reseller_Id>13</Reseller_Id>
    <IsResellerAddress>true</IsResellerAddress>
  </ResellerAddress>
  <Reseller>
    <Id>17</Id>
    <ShortName>sample string 1</ShortName>
    <PhoneNumber>sample string 2</PhoneNumber>
    <FaxNumber>sample string 3</FaxNumber>
    <Mobile>sample string 4</Mobile>
    <URL>sample string 5</URL>
    <Email>sample string 6</Email>
    <VatDuty>true</VatDuty>
    <VatIncluded>true</VatIncluded>
    <VatNumber>sample string 7</VatNumber>
    <VatPercent>1.1</VatPercent>
    <LargeLogoPath>sample string 8</LargeLogoPath>
    <SmallLogoPath>sample string 9</SmallLogoPath>
    <Token>sample string 10</Token>
    <IsDefault>true</IsDefault>
    <ResellerNumber>sample string 12</ResellerNumber>
    <Language_Id>13</Language_Id>
    <Language>
      <Id>7</Id>
      <Name>sample string 1</Name>
      <Code>sample string 2</Code>
      <Sequence>3</Sequence>
      <Active>true</Active>
      <ImageUrl>sample string 5</ImageUrl>
      <LiteralInternVersion>6</LiteralInternVersion>
    </Language>
    <PriceList_Id>14</PriceList_Id>
    <CreatedDate>2019-08-18T03:59:43.7980131+02:00</CreatedDate>
    <ModifiedDate>2019-08-18T03:59:43.7980131+02:00</ModifiedDate>
    <PriceList>
      <Id>3</Id>
      <Name>sample string 1</Name>
      <Currency_Id>2</Currency_Id>
      <Currency>
        <Id>3</Id>
        <ISOCode>sample string 1</ISOCode>
        <Description>sample string 2</Description>
      </Currency>
    </PriceList>
    <Level>15</Level>
    <IsStandalone>true</IsStandalone>
  </Reseller>
</ResellerDetailVM>

application/x-www-form-urlencoded

Sample:

Sample not available.