POST api/carrier
Create a parent carrier record.
Request Information
URI Parameters
None.
Body Parameters
CarrierRecord to create, only CarrierID needs to be populated.
CarrierRecordName | Description | Type | Additional information |
---|---|---|---|
CarrierID |
Carrier ID beign referenced |
string |
None. |
VCTableId |
The ViewCenter record table ID that represents the table |
integer |
None. |
VCRecordId |
The ViewCenter record ID that represents a carrier record |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "CarrierID": "sample string 1", "VCTableId": 2, "VCRecordId": 3 }
application/xml, text/xml
Sample:
<CarrierRecord xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClaimsVCRestApi.Models"> <CarrierID>sample string 1</CarrierID> <VCRecordId>3</VCRecordId> <VCTableId>2</VCTableId> </CarrierRecord>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
A CarrierRecord of added, or error response.
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |