GET api/Campaign/GetCampaign/{Id}

Get campaign by id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

Campaign id

integer

Required

Body Parameters

None.

Response Information

Resource Description

A campaign object

ResponseOfCampaign
NameDescriptionTypeAdditional information
Data

Campaign

None.

Result

boolean

None.

Message

string

None.

Errors

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "$id": "2",
    "Code": "sample string 1",
    "Enabled": true,
    "ExtraWithdrawalDays": 3,
    "Id": 4,
    "Name": "sample string 5",
    "PackageVillaInvoice1Value": 6.1,
    "PackageVillaInvoice2Value": 7.1,
    "PackageApartmentInvoice1Value": 8.1,
    "PackageApartmentInvoice2Value": 9.1,
    "PackageCabinInvoice1Value": 10.1,
    "PackageCabinInvoice2Value": 11.1,
    "PackageGarageInvoice1Value": 12.1,
    "PackageGarageInvoice2Value": 13.1,
    "PackageTrailerInvoice1Value": 14.1,
    "PackageTrailerInvoice2Value": 15.1,
    "PackageCompanyInvoice1Value": 16.1,
    "PackageCompanyInvoice2Value": 17.1,
    "Type": 0
  },
  "Result": true,
  "Message": "sample string 2",
  "Errors": {
    "$id": "3"
  }
}