GET Item/Get

Get Item List for CNDetails

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

HttpResponseMessage

ItemViewModel
NameDescriptionTypeAdditional information
ItemID

integer

None.

ItemName

string

Required

String length: inclusive between 0 and 50

ItemCode

string

Required

String length: inclusive between 0 and 10

Description

string

String length: inclusive between 0 and 255

IsActive

boolean

None.

IListItem

Collection of ItemViewModel

None.

Active

string

None.

ModuleName

CommonMessagesViewModel

None.

CreatedBy

integer

None.

ModifiedBy

integer

None.

CreatedOn

date

None.

ModifiedOn

date

None.

Success

boolean

None.

Message

string

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'ThreeStar.Common.Models.ItemViewModel'. Path 'IListItem'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'ThreeStar.Common.Models.ItemViewModel'. Path 'IListItem'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[ThreeStar.Common.Models.ItemViewModel, ThreeStar.Common, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[ThreeStar.Common.Models.ItemViewModel, ThreeStar.Common, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.