POST Webshop/GetWebshopUserByLogin

Verkrijg webshopgebruiker o.b.v. meegestuurde credentials

Request Information

URI Parameters

None.

Body Parameters

WebshopLogin
NameDescriptionTypeAdditional information
UserName

Gebruikersnaam

string

Required

Password

Wachtwoord

string

Required

WebsiteDomainId

Multi-Channel: Haal de debitueren op die bij een bepaalde website horen

integer

None.

IgnorePasswordCheck

Bij OCI hebben we geen wachtwoord

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "Password": "sample string 2",
  "WebsiteDomainId": 1,
  "IgnorePasswordCheck": true
}

application/xml, text/xml

Sample:
<WebshopLogin xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.Models">
  <IgnorePasswordCheck>true</IgnorePasswordCheck>
  <Password>sample string 2</Password>
  <UserName>sample string 1</UserName>
  <WebsiteDomainId>1</WebsiteDomainId>
</WebshopLogin>

Response Information

Resource Description

Logic4ResponseOfWebshopUser
NameDescriptionTypeAdditional information
Value

WebshopUser

None.

ValidationMessages

Eventuele foutmeldingen

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Value": {
    "WebshopUserId": 1,
    "DebtorId": 1,
    "LimitedToOrderlist": true,
    "CanOrderOutsideOrderListWithApproval": true,
    "CanModifyOrderList": true,
    "SupervisorId1": 1,
    "SupervisorId2": 1,
    "HideProductPrices": true,
    "ShowOrdersRightLevel": 6,
    "ShowInvoicesRightLevel": 7,
    "AnnualBudget": 1.0,
    "MaxOrderAmountWithoutApproval": 1.0,
    "WebShopUserTypeId": 8,
    "Username": "sample string 9",
    "Email": "sample string 10",
    "TelephoneNumber": "sample string 11",
    "City": "sample string 12",
    "PostalCode": "sample string 13",
    "Address": "sample string 14",
    "DeliveryAddressId": 1,
    "MinOrderAmount": 1.0,
    "CountryId": 1,
    "CompanyName": "sample string 15",
    "Name": "sample string 16",
    "GlobalisationId": 17,
    "WebshopAssortment": false,
    "Debtor_CostCenterId": 1,
    "CanParkOrders": true,
    "Password_Lastchanged": "2020-09-22T12:34:12.2531914+02:00",
    "NavigateWebshopUser_ToProductlistAfterLogin": true,
    "NavigateWebshopUser_ToAssortmentAfterLogin": true,
    "CanUseCustomDeliveryAddress": true,
    "IsParticulier": false,
    "RelationTypeId": 22,
    "CanUseCustomInvoiceAddress": true,
    "InvoiceAddressId": 1,
    "LimitedToAssortment": true,
    "IsExternalBuyer": true,
    "HideFromPrices": true,
    "RelationGroupId": 1,
    "OfferModePriceMargin": 1.0,
    "OfferModeUseLocations": true,
    "OfferModeExportConfigurationJson": "sample string 28"
  },
  "ValidationMessages": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<Logic4ResponseOfWebshopUserLnN1pw8Y xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.ResponseModels">
  <ValidationMessages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ValidationMessages>
  <Value xmlns:d2p1="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.Models">
    <d2p1:Address>sample string 14</d2p1:Address>
    <d2p1:AnnualBudget>1</d2p1:AnnualBudget>
    <d2p1:CanModifyOrderList>true</d2p1:CanModifyOrderList>
    <d2p1:CanOrderOutsideOrderListWithApproval>true</d2p1:CanOrderOutsideOrderListWithApproval>
    <d2p1:CanParkOrders>true</d2p1:CanParkOrders>
    <d2p1:CanUseCustomDeliveryAddress>true</d2p1:CanUseCustomDeliveryAddress>
    <d2p1:CanUseCustomInvoiceAddress>true</d2p1:CanUseCustomInvoiceAddress>
    <d2p1:City>sample string 12</d2p1:City>
    <d2p1:CompanyName>sample string 15</d2p1:CompanyName>
    <d2p1:CountryId>1</d2p1:CountryId>
    <d2p1:DebtorId>1</d2p1:DebtorId>
    <d2p1:Debtor_CostCenterId>1</d2p1:Debtor_CostCenterId>
    <d2p1:DeliveryAddressId>1</d2p1:DeliveryAddressId>
    <d2p1:Email>sample string 10</d2p1:Email>
    <d2p1:GlobalisationId>17</d2p1:GlobalisationId>
    <d2p1:HideFromPrices>true</d2p1:HideFromPrices>
    <d2p1:HideProductPrices>true</d2p1:HideProductPrices>
    <d2p1:InvoiceAddressId>1</d2p1:InvoiceAddressId>
    <d2p1:IsExternalBuyer>true</d2p1:IsExternalBuyer>
    <d2p1:LimitedToAssortment>true</d2p1:LimitedToAssortment>
    <d2p1:LimitedToOrderlist>true</d2p1:LimitedToOrderlist>
    <d2p1:MaxOrderAmountWithoutApproval>1</d2p1:MaxOrderAmountWithoutApproval>
    <d2p1:MinOrderAmount>1</d2p1:MinOrderAmount>
    <d2p1:Name>sample string 16</d2p1:Name>
    <d2p1:NavigateWebshopUser_ToAssortmentAfterLogin>true</d2p1:NavigateWebshopUser_ToAssortmentAfterLogin>
    <d2p1:NavigateWebshopUser_ToProductlistAfterLogin>true</d2p1:NavigateWebshopUser_ToProductlistAfterLogin>
    <d2p1:OfferModeExportConfigurationJson>sample string 28</d2p1:OfferModeExportConfigurationJson>
    <d2p1:OfferModePriceMargin>1</d2p1:OfferModePriceMargin>
    <d2p1:OfferModeUseLocations>true</d2p1:OfferModeUseLocations>
    <d2p1:Password_Lastchanged>2020-09-22T12:34:12.2531914+02:00</d2p1:Password_Lastchanged>
    <d2p1:PostalCode>sample string 13</d2p1:PostalCode>
    <d2p1:RelationGroupId>1</d2p1:RelationGroupId>
    <d2p1:RelationTypeId>22</d2p1:RelationTypeId>
    <d2p1:ShowInvoicesRightLevel>7</d2p1:ShowInvoicesRightLevel>
    <d2p1:ShowOrdersRightLevel>6</d2p1:ShowOrdersRightLevel>
    <d2p1:SupervisorId1>1</d2p1:SupervisorId1>
    <d2p1:SupervisorId2>1</d2p1:SupervisorId2>
    <d2p1:TelephoneNumber>sample string 11</d2p1:TelephoneNumber>
    <d2p1:Username>sample string 9</d2p1:Username>
    <d2p1:WebShopUserTypeId>8</d2p1:WebShopUserTypeId>
    <d2p1:WebshopUserId>1</d2p1:WebshopUserId>
  </Value>
</Logic4ResponseOfWebshopUserLnN1pw8Y>