PUT api/SystemFields/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
SystemField| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| DefaultValue | string |
None. |
|
| IsNullable | boolean |
None. |
|
| IsMatchingField | boolean |
None. |
|
| IsPrimaryKey | boolean |
None. |
|
| IsForeignKey | boolean |
None. |
|
| FieldTypeId | integer |
None. |
|
| FieldType | FieldType |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"DefaultValue": "sample string 3",
"IsNullable": true,
"IsMatchingField": true,
"IsPrimaryKey": true,
"IsForeignKey": true,
"FieldTypeId": 8,
"FieldType": {
"Id": 1,
"FriendlyDataType": "sample string 2",
"SQLDataType": "sample string 3",
"FieldTypeKey": "sample string 4"
}
}
application/xml, text/xml
Sample:
<SystemField xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataOrbis.WebApi.Models">
<DefaultValue>sample string 3</DefaultValue>
<FieldType>
<FieldTypeKey>sample string 4</FieldTypeKey>
<FriendlyDataType>sample string 2</FriendlyDataType>
<Id>1</Id>
<SQLDataType>sample string 3</SQLDataType>
</FieldType>
<FieldTypeId>8</FieldTypeId>
<Id>1</Id>
<IsForeignKey>true</IsForeignKey>
<IsMatchingField>true</IsMatchingField>
<IsNullable>true</IsNullable>
<IsPrimaryKey>true</IsPrimaryKey>
<Name>sample string 2</Name>
</SystemField>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.