GET api/TransportationProfiles/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

TransportationProfileListViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

String length: inclusive between 0 and 125

Address

string

Data type: Text

Telephone

string

None.

Email

string

None.

ImageUrl

string

Data type: ImageUrl

City

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Address": "sample string 3",
  "Telephone": "sample string 4",
  "Email": "sample string 5",
  "ImageUrl": "sample string 6",
  "City": null,
  "Region": null,
  "CompanyId": 7,
  "TransportationProfileImage": {
    "ImageId": 1,
    "ImageUrl": "sample string 2",
    "TinyImageUrl": "sample string 3",
    "ImageName": "sample string 4",
    "IsPrimaryImage": true
  },
  "AddressObject": {
    "Id": 1,
    "Address1": "sample string 1",
    "Address2": "sample string 2",
    "Address3": "sample string 3",
    "PostalCode": "sample string 4",
    "Landmark": "sample string 5",
    "AreaId": "sample string 6",
    "IsValidGoogleAddressCoordinate": true,
    "Area": {
      "Id": "sample string 1",
      "Name": "sample string 2"
    },
    "City": {
      "Id": "sample string 1",
      "Name": "sample string 2"
    },
    "Region": {
      "Id": "sample string 1",
      "Name": "sample string 2"
    },
    "Country": {
      "Id": "sample string 1",
      "Name": "sample string 2"
    },
    "AddressString": "sample string 1 sample string 2 sample string 3, sample string 2, sample string 2, sample string 2, sample string 2, sample string 4",
    "Coordinate": {
      "Lat": 1.0,
      "Lng": 2.0
    }
  },
  "BillingAddressObject": {
    "Id": 1,
    "Address1": "sample string 1",
    "Address2": "sample string 2",
    "Address3": "sample string 3",
    "PostalCode": "sample string 4",
    "Landmark": "sample string 5",
    "AreaId": "sample string 6",
    "IsValidGoogleAddressCoordinate": true,
    "Area": {
      "Id": "sample string 1",
      "Name": "sample string 2"
    },
    "City": {
      "Id": "sample string 1",
      "Name": "sample string 2"
    },
    "Region": {
      "Id": "sample string 1",
      "Name": "sample string 2"
    },
    "Country": {
      "Id": "sample string 1",
      "Name": "sample string 2"
    },
    "AddressString": "sample string 1 sample string 2 sample string 3, sample string 2, sample string 2, sample string 2, sample string 2, sample string 4",
    "Coordinate": {
      "Lat": 1.0,
      "Lng": 2.0
    }
  },
  "TransportationProfileCategory": {
    "TransportationProfileCategoryId": 1,
    "Name": "sample string 1"
  },
  "TransportationProfileRating": {
    "TransportationProfileRatingId": 1,
    "Name": "sample string 1"
  }
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.