GET api/LookUpCust/GetRoom?pCode={pCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pCode

integer

Required

Body Parameters

None.

Response Information

Resource Description

Room
NameDescriptionTypeAdditional information
roomcode

integer

None.

roomdescription

string

Required

String length: inclusive between 0 and 15

Diarys

Collection of Diary

None.

Visits

Collection of Visit

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 'CustDemog.BranchGroupKodMahon'. Path 'Diarys[0].DelAppointments[0].Customers.Cities.BusinessBranches[0].BranchGroupKodMahons[0].Groups.BranchGroupKodMahons'.

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 'CustDemog.BranchGroupKodMahon'. Path 'Diarys[0].DelAppointments[0].Customers.Cities.BusinessBranches[0].BranchGroupKodMahons[0].Groups.BranchGroupKodMahons'.

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 'CustDemog.BusinessBranch' 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 'CustDemog.BusinessBranch' contains cycles and cannot be serialized if reference tracking is disabled.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.