GET api/Service/GetServiceRecord?service_code={service_code}&cust_num={cust_num}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
service_code

integer

Required

cust_num

integer

Default value is -1

Body Parameters

None.

Response Information

Resource Description

ServiceRecordDetails
NameDescriptionTypeAdditional information
serviceRecord

ServiceRecord

None.

lines

Collection of ServiceLineDetails

None.

custContacts

Collection of CustContact

None.

payerContact

InsurersContact

None.

turnContact

InsurersContact

None.

status

StatusForService

None.

inspector

string

None.

inspector_code

integer

None.

creator

string

None.

referent

string

None.

referent_code

integer

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.Clinic'. Path 'serviceRecord.InsurerDepartment.ServiceType[0].ServiceRecordLine[0].EmpForService[0].Occupations.Occupation_of_employees[0].Employees.Clinics.Insurers.Clinics'.

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.Clinic'. Path 'serviceRecord.InsurerDepartment.ServiceType[0].ServiceRecordLine[0].EmpForService[0].Occupations.Occupation_of_employees[0].Employees.Clinics.Insurers.Clinics'.

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

application/bson

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