GET api/AttributeType/{auth}/{ShowDeleted}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
auth

string

Required

ShowDeleted

boolean

Required

Body Parameters

None.

Response Information

Resource Description

AttributeTypeResp
NameDescriptionTypeAdditional information
IsSuccessful

boolean

None.

ErrorMessage

string

None.

Attributes

Collection of AttributeTypeItem

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccessful": true,
  "ErrorMessage": "sample string 2",
  "Attributes": [
    {
      "AttributeTypeID": 1,
      "CompanyID": 2,
      "Code": "sample string 3",
      "Name": "sample string 4",
      "Description": "sample string 5",
      "InsertUserID": 6,
      "InsertDateTime": "2024-12-28T09:31:52.7784726+00:00",
      "DeletedDateTime": "2024-12-28T09:31:52.7784726+00:00"
    },
    {
      "AttributeTypeID": 1,
      "CompanyID": 2,
      "Code": "sample string 3",
      "Name": "sample string 4",
      "Description": "sample string 5",
      "InsertUserID": 6,
      "InsertDateTime": "2024-12-28T09:31:52.7784726+00:00",
      "DeletedDateTime": "2024-12-28T09:31:52.7784726+00:00"
    }
  ]
}

application/xml, text/xml

Sample:
<AttributeTypeResp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models">
  <Attributes>
    <AttributeTypeItem>
      <AttributeTypeID>1</AttributeTypeID>
      <Code>sample string 3</Code>
      <CompanyID>2</CompanyID>
      <DeletedDateTime>2024-12-28T09:31:52.7784726+00:00</DeletedDateTime>
      <Description>sample string 5</Description>
      <InsertDateTime>2024-12-28T09:31:52.7784726+00:00</InsertDateTime>
      <InsertUserID>6</InsertUserID>
      <Name>sample string 4</Name>
    </AttributeTypeItem>
    <AttributeTypeItem>
      <AttributeTypeID>1</AttributeTypeID>
      <Code>sample string 3</Code>
      <CompanyID>2</CompanyID>
      <DeletedDateTime>2024-12-28T09:31:52.7784726+00:00</DeletedDateTime>
      <Description>sample string 5</Description>
      <InsertDateTime>2024-12-28T09:31:52.7784726+00:00</InsertDateTime>
      <InsertUserID>6</InsertUserID>
      <Name>sample string 4</Name>
    </AttributeTypeItem>
  </Attributes>
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsSuccessful>true</IsSuccessful>
</AttributeTypeResp>