POST api/ReferenceType/Create

Request Information

URI Parameters

None.

Body Parameters

CreateReferenceTypeParm
NameDescriptionTypeAdditional information
auth

string

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",
  "Code": "sample string 2",
  "Name": "sample string 3",
  "FieldLabelInternal": "sample string 4",
  "FieldLabelExternal": "sample string 5",
  "ReferenceGroupGUID": "sample string 6",
  "ExcludeFromAlert": true
}

application/xml, text/xml

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

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>