PUT api/Carriers/Transport/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

TransportCarrierBindingViewModel
NameDescriptionTypeAdditional information
Name

string

Required

ScacCode

string

None.

IsIntraStateCarrier

boolean

None.

McNumber

string

None.

DotNUmber

integer

None.

IATANumber

string

None.

ExternalId

string

None.

TsaComplianceId

integer

None.

VendorTypeId

integer

None.

Phone

string

None.

Fax

string

None.

WebUrl

string

None.

TrackingUrl

string

None.

Street1

string

None.

Street2

string

None.

City

string

None.

State

string

None.

ZipCode

string

None.

Country

string

None.

Borkers

Collection of integer

None.

Score

integer

None.

ScoreText

string

None.

IsActive

boolean

None.

RequiredId

boolean

None.

TaxId

string

None.

IsTruckTools

boolean

None.

IsSmallPckage

boolean

None.

IsLTL

boolean

None.

IsTruckLoad

boolean

None.

IsDomesticFreight

boolean

None.

IsCartage

boolean

None.

IsOther

boolean

None.

IsInsuranceProvider

boolean

None.

IsDrayage

boolean

None.

IsAirHouse

boolean

None.

IsAirMaster

boolean

None.

IsOcean

boolean

None.

IsOceanCombined

boolean

None.

IsNationalCarrier

boolean

None.

IsZone0

boolean

None.

IsZone1

boolean

None.

IsZone2

boolean

None.

IsZone3

boolean

None.

IsZone4

boolean

None.

IsZone5

boolean

None.

IsZone6

boolean

None.

IsZone7

boolean

None.

IsZone8

boolean

None.

IsZone9

boolean

None.

IsZoneCA

boolean

None.

IsZoneMX

boolean

None.

UseFactoringCompany

boolean

None.

AddressToUseId

integer

None.

CompanyName

string

None.

PrimaryStreet1

string

None.

PrimaryStreet2

string

None.

PrimaryCity

string

None.

PrimaryState

string

None.

PrimaryZipCode

string

None.

PrimaryCountry

string

None.

AccountPhone

string

None.

AccountFax

string

None.

Email

string

None.

NetTermsId

integer

None.

PreferredPaymentTypeId

integer

None.

CreditLimit

decimal number

None.

AcceptCreditCards

boolean

None.

CreditCardPrcessFee

decimal number

None.

PaymentFrequencyId

integer

None.

NewMaxCoveredValue

decimal number

None.

NewBuyRate

decimal number

None.

NewBuyMinimum

decimal number

None.

NewSellRate

decimal number

None.

NewSellMiniumum

decimal number

None.

NewDisclaimer

decimal number

None.

UsedMaxCoveredValue

decimal number

None.

UsedBuyRate

decimal number

None.

UsedBuyMinimum

decimal number

None.

UsedSellRate

decimal number

None.

UsedSellMiniumum

decimal number

None.

UsedDisclaimer

decimal number

None.

DotStatus

string

None.

BrokerAuthority

string

None.

CommonAuthority

string

None.

ContractAuthority

string

None.

Rating

string

None.

OutOfService

boolean

None.

Drivers

integer

None.

PowerUnits

integer

None.

UnsafeDriving

decimal number

None.

HoursOfService

decimal number

None.

VehicleMaintenance

decimal number

None.

ControlledSubstance

decimal number

None.

DriverFitness

decimal number

None.

Approved

boolean

None.

IsSmartWayPartner

boolean

None.

SmartWayFleetId

integer

None.

HashCodes

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "ScacCode": "sample string 2",
  "IsIntraStateCarrier": true,
  "McNumber": "sample string 4",
  "DotNUmber": 1,
  "IATANumber": "sample string 5",
  "ExternalId": "sample string 6",
  "TsaComplianceId": 7,
  "VendorTypeId": 8,
  "Phone": "sample string 9",
  "Fax": "sample string 10",
  "WebUrl": "sample string 11",
  "TrackingUrl": "sample string 12",
  "Street1": "sample string 13",
  "Street2": "sample string 14",
  "City": "sample string 15",
  "State": "sample string 16",
  "ZipCode": "sample string 17",
  "Country": "sample string 18",
  "Borkers": [
    1,
    2
  ],
  "Score": 19,
  "ScoreText": "sample string 20",
  "IsActive": true,
  "RequiredId": true,
  "TaxId": "sample string 22",
  "IsTruckTools": true,
  "IsSmallPckage": true,
  "IsLTL": true,
  "IsTruckLoad": true,
  "IsDomesticFreight": true,
  "IsCartage": true,
  "IsOther": true,
  "IsInsuranceProvider": true,
  "IsDrayage": true,
  "IsAirHouse": true,
  "IsAirMaster": true,
  "IsOcean": true,
  "IsOceanCombined": true,
  "IsNationalCarrier": true,
  "IsZone0": true,
  "IsZone1": true,
  "IsZone2": true,
  "IsZone3": true,
  "IsZone4": true,
  "IsZone5": true,
  "IsZone6": true,
  "IsZone7": true,
  "IsZone8": true,
  "IsZone9": true,
  "IsZoneCA": true,
  "IsZoneMX": true,
  "UseFactoringCompany": true,
  "AddressToUseId": 50,
  "CompanyName": "sample string 51",
  "PrimaryStreet1": "sample string 52",
  "PrimaryStreet2": "sample string 53",
  "PrimaryCity": "sample string 54",
  "PrimaryState": "sample string 55",
  "PrimaryZipCode": "sample string 56",
  "PrimaryCountry": "sample string 57",
  "AccountPhone": "sample string 58",
  "AccountFax": "sample string 59",
  "Email": "sample string 60",
  "NetTermsId": 61,
  "PreferredPaymentTypeId": 62,
  "CreditLimit": 63.0,
  "AcceptCreditCards": true,
  "CreditCardPrcessFee": 65.0,
  "PaymentFrequencyId": 66,
  "NewMaxCoveredValue": 67.0,
  "NewBuyRate": 68.0,
  "NewBuyMinimum": 69.0,
  "NewSellRate": 70.0,
  "NewSellMiniumum": 71.0,
  "NewDisclaimer": 72.0,
  "UsedMaxCoveredValue": 73.0,
  "UsedBuyRate": 74.0,
  "UsedBuyMinimum": 75.0,
  "UsedSellRate": 76.0,
  "UsedSellMiniumum": 77.0,
  "UsedDisclaimer": 78.0,
  "DotStatus": "sample string 79",
  "BrokerAuthority": "sample string 80",
  "CommonAuthority": "sample string 81",
  "ContractAuthority": "sample string 82",
  "Rating": "sample string 83",
  "OutOfService": true,
  "Drivers": 85,
  "PowerUnits": 86,
  "UnsafeDriving": 1.0,
  "HoursOfService": 1.0,
  "VehicleMaintenance": 1.0,
  "ControlledSubstance": 1.0,
  "DriverFitness": 1.0,
  "Approved": true,
  "IsSmartWayPartner": true,
  "SmartWayFleetId": 1,
  "HashCodes": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<TransportCarrierBindingViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eMpowerCore.ViewModels.Carriers">
  <AcceptCreditCards>true</AcceptCreditCards>
  <AccountFax>sample string 59</AccountFax>
  <AccountPhone>sample string 58</AccountPhone>
  <AddressToUseId>50</AddressToUseId>
  <Approved>true</Approved>
  <Borkers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Borkers>
  <BrokerAuthority>sample string 80</BrokerAuthority>
  <City>sample string 15</City>
  <CommonAuthority>sample string 81</CommonAuthority>
  <CompanyName>sample string 51</CompanyName>
  <ContractAuthority>sample string 82</ContractAuthority>
  <ControlledSubstance>1</ControlledSubstance>
  <Country>sample string 18</Country>
  <CreditCardPrcessFee>65</CreditCardPrcessFee>
  <CreditLimit>63</CreditLimit>
  <DotNUmber>1</DotNUmber>
  <DotStatus>sample string 79</DotStatus>
  <DriverFitness>1</DriverFitness>
  <Drivers>85</Drivers>
  <Email>sample string 60</Email>
  <ExternalId>sample string 6</ExternalId>
  <Fax>sample string 10</Fax>
  <HashCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </HashCodes>
  <HoursOfService>1</HoursOfService>
  <IATANumber>sample string 5</IATANumber>
  <IsActive>true</IsActive>
  <IsAirHouse>true</IsAirHouse>
  <IsAirMaster>true</IsAirMaster>
  <IsCartage>true</IsCartage>
  <IsDomesticFreight>true</IsDomesticFreight>
  <IsDrayage>true</IsDrayage>
  <IsInsuranceProvider>true</IsInsuranceProvider>
  <IsIntraStateCarrier>true</IsIntraStateCarrier>
  <IsLTL>true</IsLTL>
  <IsNationalCarrier>true</IsNationalCarrier>
  <IsOcean>true</IsOcean>
  <IsOceanCombined>true</IsOceanCombined>
  <IsOther>true</IsOther>
  <IsSmallPckage>true</IsSmallPckage>
  <IsSmartWayPartner>true</IsSmartWayPartner>
  <IsTruckLoad>true</IsTruckLoad>
  <IsTruckTools>true</IsTruckTools>
  <IsZone0>true</IsZone0>
  <IsZone1>true</IsZone1>
  <IsZone2>true</IsZone2>
  <IsZone3>true</IsZone3>
  <IsZone4>true</IsZone4>
  <IsZone5>true</IsZone5>
  <IsZone6>true</IsZone6>
  <IsZone7>true</IsZone7>
  <IsZone8>true</IsZone8>
  <IsZone9>true</IsZone9>
  <IsZoneCA>true</IsZoneCA>
  <IsZoneMX>true</IsZoneMX>
  <McNumber>sample string 4</McNumber>
  <Name>sample string 1</Name>
  <NetTermsId>61</NetTermsId>
  <NewBuyMinimum>69</NewBuyMinimum>
  <NewBuyRate>68</NewBuyRate>
  <NewDisclaimer>72</NewDisclaimer>
  <NewMaxCoveredValue>67</NewMaxCoveredValue>
  <NewSellMiniumum>71</NewSellMiniumum>
  <NewSellRate>70</NewSellRate>
  <OutOfService>true</OutOfService>
  <PaymentFrequencyId>66</PaymentFrequencyId>
  <Phone>sample string 9</Phone>
  <PowerUnits>86</PowerUnits>
  <PreferredPaymentTypeId>62</PreferredPaymentTypeId>
  <PrimaryCity>sample string 54</PrimaryCity>
  <PrimaryCountry>sample string 57</PrimaryCountry>
  <PrimaryState>sample string 55</PrimaryState>
  <PrimaryStreet1>sample string 52</PrimaryStreet1>
  <PrimaryStreet2>sample string 53</PrimaryStreet2>
  <PrimaryZipCode>sample string 56</PrimaryZipCode>
  <Rating>sample string 83</Rating>
  <RequiredId>true</RequiredId>
  <ScacCode>sample string 2</ScacCode>
  <Score>19</Score>
  <ScoreText>sample string 20</ScoreText>
  <SmartWayFleetId>1</SmartWayFleetId>
  <State>sample string 16</State>
  <Street1>sample string 13</Street1>
  <Street2>sample string 14</Street2>
  <TaxId>sample string 22</TaxId>
  <TrackingUrl>sample string 12</TrackingUrl>
  <TsaComplianceId>7</TsaComplianceId>
  <UnsafeDriving>1</UnsafeDriving>
  <UseFactoringCompany>true</UseFactoringCompany>
  <UsedBuyMinimum>75</UsedBuyMinimum>
  <UsedBuyRate>74</UsedBuyRate>
  <UsedDisclaimer>78</UsedDisclaimer>
  <UsedMaxCoveredValue>73</UsedMaxCoveredValue>
  <UsedSellMiniumum>77</UsedSellMiniumum>
  <UsedSellRate>76</UsedSellRate>
  <VehicleMaintenance>1</VehicleMaintenance>
  <VendorTypeId>8</VendorTypeId>
  <WebUrl>sample string 11</WebUrl>
  <ZipCode>sample string 17</ZipCode>
</TransportCarrierBindingViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.