POST api/TableMappings

Request Information

URI Parameters

None.

Body Parameters

TableMapping
NameDescriptionTypeAdditional information
TableMappingId

integer

None.

SourceTableName

string

None.

ServiceEndpoint

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TableMappingId": 1,
  "SourceTableName": "sample string 2",
  "ServiceEndpoint": "sample string 3"
}

application/xml, text/xml

Sample:
<TableMapping xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MScore.Synchronization.WebApi.Dto">
  <ServiceEndpoint>sample string 3</ServiceEndpoint>
  <SourceTableName>sample string 2</SourceTableName>
  <TableMappingId>1</TableMappingId>
</TableMapping>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TableMapping'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>