Related Documents
Document Properties
Kbid2Q5085
Last Modified10-Jul-2017
Added to KB28-Aug-2013
Public AccessEveryone
StatusOnline
Doc TypeReferences
Product
  • ICM 7.6
  • ICM 7.7
  • ICM 7.8

REST API - Profile details of user of a business customer (until 7.8)

URI

/customers/-/users/-

Http Method

GET

Short Description

Returns the profile details of user of a business customer

Query Parameters

none

Example Requests

/customers/-/users/-

HTTP Status Codes

200 OK
401 Unauthorized 

Description

The response of this resource contains the profile details of currently logged in user.

Status code  401 'Authorization Required' will be returned if no authentication data is provided.

Cartridge

app_sf_rest_smb

Application

SMB Web Shop

Product Version

7.4

Product To Version

7.8

Status

final

JSON

Request Data Format

Request related java object

n/a

Request Example

n/a

Response Data Format

application/json

Response related java object

com.intershop.sellside.rest.smb.capi.resource.user.CustomerItemUserItemResource
com.intershop.sellside.rest.smb.capi.resourceobject.SMBCustomerUserRO

Response Example

{
  "name": "",
  "type": "User",
  "phoneBusiness": "",
  "fax": "",
  "phoneHome": "",
  "email": "pmiller@test.intershop.de",
  "department": "",
  "preferredLanguage": "",
  "phoneMobile": "",
  "businessPartnerNo": "pmiller",
  "firstName": "Patricia",
  "lastName": "Miller",
  "title": ""
}

XML

XML Request Data Format

XML Request Java Objects

n/a

XML Request Example

n/a

XML Response Data Format

text/xml

XML Response Java Objects

com.intershop.sellside.rest.smb.capi.resource.user.CustomerItemUserItemResource
com.intershop.sellside.rest.smb.capi.resourceobject.SMBCustomerUserRO

XML Response Example

<SMBCustomerUser name="">
	<businessPartnerNo>pmiller</businessPartnerNo>
	<firstName>Patricia</firstName>
	<lastName>Miller</lastName>
	<title />
	<department />
	<email>pmiller@test.intershop.de</email>
	<fax />
	<phoneBusiness />
	<phoneHome />
	<phoneMobile />
	<preferredLanguage />
</SMBCustomerUser>

Disclaimer

The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.

Customer Support
Knowledge Base
Product Resources
Support Tickets