PUT api/CustomerSystemUserdef/{id}

Update a specific Customer System Userdef record by CustomerID (CustomerUserdefID not required since there is only one Userdef record per Customer)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

CustomerSystemUserdef
NameDescriptionTypeAdditional information
CustomerSystemId

Sedona internal autonumber for the AR_Customer_System record, required for POST and PUT calls

integer

None.

Table7Code

Custom field name = AR_Setup_Userdef_System.Table_1; lookup values stored in AR_Userdef_7.Userdef_7_Code

string

None.

Table8Code

Custom field name = AR_Setup_Userdef_System.Table_2; lookup values stored in AR_Userdef_8.Userdef_8_Code

string

None.

Table9Code

Custom field name = AR_Setup_Userdef_System.Table_3; lookup values stored in AR_Userdef_9.Userdef_9_Code

string

None.

Text1

Custom field name = AR_Setup_Userdef_System.Text_1

string

String length: inclusive between 0 and 40

Text2

Custom field name = AR_Setup_Userdef_System.Text_2

string

String length: inclusive between 0 and 40

Text3

Custom field name = AR_Setup_Userdef_System.Text_3

string

String length: inclusive between 0 and 40

Text4

Custom field name = AR_Setup_Userdef_System.Text_4

string

String length: inclusive between 0 and 40

Text5

Custom field name = AR_Setup_Userdef_System.Text_5

string

String length: inclusive between 0 and 40

Money1

Custom field name = AR_Setup_Userdef_System.Money_1

decimal number

None.

Money2

Custom field name = AR_Setup_Userdef_System.Money_2

decimal number

None.

Check1

Custom field name = AR_Setup_Userdef_System.Check_1

boolean

None.

Check2

Custom field name = AR_Setup_Userdef_System.Check_2

boolean

None.

Check3

Custom field name = AR_Setup_Userdef_System.Check_3

boolean

None.

Check4

Custom field name = AR_Setup_Userdef_System.Check_4

boolean

None.

Check5

Custom field name = AR_Setup_Userdef_System.Check_5

boolean

None.

Date1

Custom field name = AR_Setup_Userdef_System.Date_1

string

None.

Date2

Custom field name = AR_Setup_Userdef_System.Date_2

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerSystemId": 1,
  "Table7Code": "sample string 2",
  "Table8Code": "sample string 3",
  "Table9Code": "sample string 4",
  "Text1": "sample string 5",
  "Text2": "sample string 6",
  "Text3": "sample string 7",
  "Text4": "sample string 8",
  "Text5": "sample string 9",
  "Money1": 1.0,
  "Money2": 1.0,
  "Check1": true,
  "Check2": true,
  "Check3": true,
  "Check4": true,
  "Check5": true,
  "Date1": "sample string 10",
  "Date2": "sample string 11"
}

application/xml, text/xml

Sample:
<CustomerSystemUserdef xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SedonaServices.Models">
  <Check1>true</Check1>
  <Check2>true</Check2>
  <Check3>true</Check3>
  <Check4>true</Check4>
  <Check5>true</Check5>
  <CustomerSystemId>1</CustomerSystemId>
  <Date1>sample string 10</Date1>
  <Date2>sample string 11</Date2>
  <Money1>1</Money1>
  <Money2>1</Money2>
  <Table7Code>sample string 2</Table7Code>
  <Table8Code>sample string 3</Table8Code>
  <Table9Code>sample string 4</Table9Code>
  <Text1>sample string 5</Text1>
  <Text2>sample string 6</Text2>
  <Text3>sample string 7</Text3>
  <Text4>sample string 8</Text4>
  <Text5>sample string 9</Text5>
</CustomerSystemUserdef>

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 'CustomerSystemUserdef'.

Response Information

Resource Description

None.