POST api/CRMRepresentativeItem

Insert New SiteExtends

Request Information

URI Parameters

None.

Body Parameters

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.

Request 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-16T07:54:48.0769598+00:00</CreatedDateTime>
  <CreatedUserID>8</CreatedUserID>
  <UpdatedDateTime>2018-10-16T07:54:48.0769598+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>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.