GET api/ProgramasTPVs/{ID}
Devuelva la lista de todos los sectores que estén relacionados con el programa.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ProgramasTPV_SectoresName | Description | Type | Additional information |
---|---|---|---|
FK_Sectores_Id | integer |
None. |
|
FK_ProgramasTPV_Id | integer |
None. |
|
ProgramasTPV | ProgramasTPV |
None. |
Response Formats
application/json, text/json
Sample:
{ "FK_Sectores_Id": 1, "FK_ProgramasTPV_Id": 2, "ProgramasTPV": { "Id": 1, "Nombre": "sample string 2", "NombrePantalla": "sample string 3" } }
application/xml, text/xml
Sample:
<ProgramasTPV_Sectores xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Seed_APi_Bella_Aurora"> <FK_ProgramasTPV_Id>2</FK_ProgramasTPV_Id> <FK_Sectores_Id>1</FK_Sectores_Id> <ProgramasTPV> <Id>1</Id> <Nombre>sample string 2</Nombre> <NombrePantalla>sample string 3</NombrePantalla> </ProgramasTPV> </ProgramasTPV_Sectores>