POST api/ReferenceType/Update

Request Information

URI Parameters

None.

Body Parameters

UpdateReferenceTypeParm
NameDescriptionTypeAdditional information
auth

string

None.

ReferenceTypeID

integer

None.

Code

string

None.

Name

string

None.

FieldLabelInternal

string

None.

FieldLabelExternal

string

None.

ReferenceGroupGUID

string

None.

ExcludeFromAlert

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "auth": "sample string 1",
  "ReferenceTypeID": 2,
  "Code": "sample string 3",
  "Name": "sample string 4",
  "FieldLabelInternal": "sample string 5",
  "FieldLabelExternal": "sample string 6",
  "ReferenceGroupGUID": "sample string 7",
  "ExcludeFromAlert": true
}

application/xml, text/xml

Sample:
<UpdateReferenceTypeParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models">
  <Code>sample string 3</Code>
  <ExcludeFromAlert>true</ExcludeFromAlert>
  <FieldLabelExternal>sample string 6</FieldLabelExternal>
  <FieldLabelInternal>sample string 5</FieldLabelInternal>
  <Name>sample string 4</Name>
  <ReferenceGroupGUID>sample string 7</ReferenceGroupGUID>
  <ReferenceTypeID>2</ReferenceTypeID>
  <auth>sample string 1</auth>
</UpdateReferenceTypeParm>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseBase
NameDescriptionTypeAdditional information
IsSuccessful

boolean

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccessful": true,
  "ErrorMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<ResponseBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models">
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsSuccessful>true</IsSuccessful>
</ResponseBase>