NectaVendorsApi

<back to all web services

ResetPassword

Requires Authentication
Required permission:modify_user
The following routes are available for this service:
POST/admin/user/{Id}/reset
ResetPassword Parameters:
NameParameterData TypeRequiredDescription
IdpathintNo
NewPasswordbodystringNoOmit to randomly generate and send password instead
LoginUrlbodystringNoURL to login form on the frontend
UserEmailbodystringNo
UserDto Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
UserIdformintNo
RoleformRoleNo
UserNameformstringNo
AuthMethodformAuthMethodNo
DeactivatedformboolNo
VendorformVendorHeaderDtoNo
UserEmailformstringNo
VendorHeaderDto Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
GuidformstringNo
UseChangesetformboolNo
StreetNumberformstringNo
CountryformintNo
ZipCodeformstringNo
CityformstringNo
WebsiteformstringNo
GlnformstringNo
UidformstringNo
MailformstringNo
LanguageformintNo
CurrencyformintNo
ExportLevelformintNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /admin/user/{Id}/reset HTTP/1.1 
Host: vendor-api.digisupply.klueh.de 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"Id":0,"NewPassword":"String","LoginUrl":"String","UserEmail":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Id":0,"UserId":0,"Role":1,"UserName":"String","AuthMethod":0,"Deactivated":false,"Vendor":{"Id":0,"Name":"String","Guid":"String","UseChangeset":false,"StreetNumber":"String","Country":0,"ZipCode":"String","City":"String","Website":"String","Gln":"String","Uid":"String","Mail":"String","Language":0,"Currency":0,"ExportLevel":0},"UserEmail":"String"}