PUT CarrierClassOfServices

Request Information

URI Parameters

NameDescriptionType
api-version click for description string

Body Parameters

Collection of PacejetAPI.Models.CommonModels+CarrierClassOfServices
NameDescriptionType
CarrierClassOfServiceCarrierName click for description string
CarrierClassOfServiceCode click for description string
CarrierClassOfServiceDescription click for description string
CarrierClassOfServiceShipCodeXRef click for description string
CarrierClassOfServiceSubsidiary Collection of PacejetAPI.Models.CommonModels+CarrierClassOfServiceSubsidiaries

Request Formats

application/json; v=1, text/json; v=1

Sample:
[
  {
    "carrierClassOfServiceCarrierName": "sample string 1",
    "carrierClassOfServiceCode": "sample string 2",
    "carrierClassOfServiceDescription": "sample string 3",
    "carrierClassOfServiceShipCodeXRef": "sample string 4",
    "carrierClassOfServiceSubsidiary": [
      {
        "carrierClassOfServiceSubsidiaryXRef": "sample string 1",
        "carrierClassOfServiceSubsidiaryID": 2,
        "carrierClassOfServiceSubsidiaryServiceDescription": "sample string 3"
      },
      {
        "carrierClassOfServiceSubsidiaryXRef": "sample string 1",
        "carrierClassOfServiceSubsidiaryID": 2,
        "carrierClassOfServiceSubsidiaryServiceDescription": "sample string 3"
      }
    ]
  },
  {
    "carrierClassOfServiceCarrierName": "sample string 1",
    "carrierClassOfServiceCode": "sample string 2",
    "carrierClassOfServiceDescription": "sample string 3",
    "carrierClassOfServiceShipCodeXRef": "sample string 4",
    "carrierClassOfServiceSubsidiary": [
      {
        "carrierClassOfServiceSubsidiaryXRef": "sample string 1",
        "carrierClassOfServiceSubsidiaryID": 2,
        "carrierClassOfServiceSubsidiaryServiceDescription": "sample string 3"
      },
      {
        "carrierClassOfServiceSubsidiaryXRef": "sample string 1",
        "carrierClassOfServiceSubsidiaryID": 2,
        "carrierClassOfServiceSubsidiaryServiceDescription": "sample string 3"
      }
    ]
  }
]

application/xml; v=1, text/xml; v=1

Sample:
<ArrayOfCarrierClassOfServices xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <CarrierClassOfServices>
    <CarrierClassOfServiceCarrierName>sample string 1</CarrierClassOfServiceCarrierName>
    <CarrierClassOfServiceCode>sample string 2</CarrierClassOfServiceCode>
    <CarrierClassOfServiceDescription>sample string 3</CarrierClassOfServiceDescription>
    <CarrierClassOfServiceShipCodeXRef>sample string 4</CarrierClassOfServiceShipCodeXRef>
    <CarrierClassOfServiceSubsidiary>
      <CarrierClassOfServiceSubsidiaries>
        <CarrierClassOfServiceSubsidiaryXRef>sample string 1</CarrierClassOfServiceSubsidiaryXRef>
        <CarrierClassOfServiceSubsidiaryID>2</CarrierClassOfServiceSubsidiaryID>
        <CarrierClassOfServiceSubsidiaryServiceDescription>sample string 3</CarrierClassOfServiceSubsidiaryServiceDescription>
      </CarrierClassOfServiceSubsidiaries>
      <CarrierClassOfServiceSubsidiaries>
        <CarrierClassOfServiceSubsidiaryXRef>sample string 1</CarrierClassOfServiceSubsidiaryXRef>
        <CarrierClassOfServiceSubsidiaryID>2</CarrierClassOfServiceSubsidiaryID>
        <CarrierClassOfServiceSubsidiaryServiceDescription>sample string 3</CarrierClassOfServiceSubsidiaryServiceDescription>
      </CarrierClassOfServiceSubsidiaries>
    </CarrierClassOfServiceSubsidiary>
  </CarrierClassOfServices>
  <CarrierClassOfServices>
    <CarrierClassOfServiceCarrierName>sample string 1</CarrierClassOfServiceCarrierName>
    <CarrierClassOfServiceCode>sample string 2</CarrierClassOfServiceCode>
    <CarrierClassOfServiceDescription>sample string 3</CarrierClassOfServiceDescription>
    <CarrierClassOfServiceShipCodeXRef>sample string 4</CarrierClassOfServiceShipCodeXRef>
    <CarrierClassOfServiceSubsidiary>
      <CarrierClassOfServiceSubsidiaries>
        <CarrierClassOfServiceSubsidiaryXRef>sample string 1</CarrierClassOfServiceSubsidiaryXRef>
        <CarrierClassOfServiceSubsidiaryID>2</CarrierClassOfServiceSubsidiaryID>
        <CarrierClassOfServiceSubsidiaryServiceDescription>sample string 3</CarrierClassOfServiceSubsidiaryServiceDescription>
      </CarrierClassOfServiceSubsidiaries>
      <CarrierClassOfServiceSubsidiaries>
        <CarrierClassOfServiceSubsidiaryXRef>sample string 1</CarrierClassOfServiceSubsidiaryXRef>
        <CarrierClassOfServiceSubsidiaryID>2</CarrierClassOfServiceSubsidiaryID>
        <CarrierClassOfServiceSubsidiaryServiceDescription>sample string 3</CarrierClassOfServiceSubsidiaryServiceDescription>
      </CarrierClassOfServiceSubsidiaries>
    </CarrierClassOfServiceSubsidiary>
  </CarrierClassOfServices>
</ArrayOfCarrierClassOfServices>

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionType
Version System.Version
Content System.Net.Http.HttpContent
StatusCode System.Net.HttpStatusCode
ReasonPhrase click for description string
Headers Collection of Object
RequestMessage System.Net.Http.HttpRequestMessage
IsSuccessStatusCode boolean