GET api/activity/Fields?active={active}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
active

boolean

None.

Body Parameters

None.

Response Information

Resource Description

Collection of FieldDto
NameDescriptionTypeAdditional information
FieldID

integer

None.

Name

string

None.

Active

boolean

None.

Year

integer

None.

ERPCode

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "FieldID": 1,
    "Name": "sample string 2",
    "Active": true,
    "Year": 4,
    "ERPCode": "sample string 5"
  },
  {
    "FieldID": 1,
    "Name": "sample string 2",
    "Active": true,
    "Year": 4,
    "ERPCode": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfFieldDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortalWanza.Services.Core.Models">
  <FieldDto>
    <ERPCode>sample string 5</ERPCode>
    <Active>true</Active>
    <FieldID>1</FieldID>
    <Name>sample string 2</Name>
    <Year>4</Year>
  </FieldDto>
  <FieldDto>
    <ERPCode>sample string 5</ERPCode>
    <Active>true</Active>
    <FieldID>1</FieldID>
    <Name>sample string 2</Name>
    <Year>4</Year>
  </FieldDto>
</ArrayOfFieldDto>