GET api/TestOnly/GetScope?pCode={pCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pCode

integer

Required

Body Parameters

None.

Response Information

Resource Description

Scope
NameDescriptionTypeAdditional information
scope_code

integer

None.

scope_name

string

Required

String length: inclusive between 0 and 30

Groups

Collection of Group

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 for property 'Groups' with type 'CustDemog.Group'. Path 'Groups[0].BranchGroupKodMahons[0]'.

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 for property 'Groups' with type 'CustDemog.Group'. Path 'Groups[0].BranchGroupKodMahons[0]'.

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.