GET api/CRMRepresentativeItem/GetByUser?Email={Email}&SiteID={SiteID}&DisciplineID={DisciplineID}

Get RepresentativeItems By User

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Email

string

Required

SiteID

integer

Required

DisciplineID

integer

Required

Body Parameters

None.

Response Information

Resource Description

RepresentativeItems
NameDescriptionTypeAdditional information
RepresentativeItemID

integer

None.

SiteID

integer

None.

DisciplineID

integer

None.

RepresentativeItemCode

string

Required

String length: inclusive between 0 and 5

RepresentativeItemName

string

Required

String length: inclusive between 0 and 100

RepresentativeItemAbbreviation

string

Required

String length: inclusive between 0 and 50

ReportClass

string

String length: inclusive between 0 and 3

IsEnabled

boolean

None.

CreatedUserID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "RepresentativeItemID": 1,
  "SiteID": 2,
  "DisciplineID": 1,
  "RepresentativeItemCode": "sample string 3",
  "RepresentativeItemName": "sample string 4",
  "RepresentativeItemAbbreviation": "sample string 5",
  "ReportClass": "sample string 6",
  "IsEnabled": true,
  "CreatedUserID": 8
}

application/xml, text/xml

Sample:
<RepresentativeItems xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sysmex.IT.NsGlobal.Models.CRM">
  <CreatedDateTime>2018-10-15T22:11:21.3838819+00:00</CreatedDateTime>
  <CreatedUserID>8</CreatedUserID>
  <UpdatedDateTime>2018-10-15T22:11:21.3848817+00:00</UpdatedDateTime>
  <UpdatedUserID>1</UpdatedUserID>
  <DisciplineID>1</DisciplineID>
  <IsEnabled>true</IsEnabled>
  <ReportClass>sample string 6</ReportClass>
  <RepresentativeItemAbbreviation>sample string 5</RepresentativeItemAbbreviation>
  <RepresentativeItemCode>sample string 3</RepresentativeItemCode>
  <RepresentativeItemID>1</RepresentativeItemID>
  <RepresentativeItemName>sample string 4</RepresentativeItemName>
  <SiteID>2</SiteID>
</RepresentativeItems>