POST api/Customers/Update

Request Information

URI Parameters

None.

Body Parameters

CustomerUpdateBindingModel
NameDescriptionTypeAdditional information
CustomerId

integer

Required

Range: inclusive between 0 and 9.22337203685478E+18

CustomerName

string

Required

String length: inclusive between 1 and 100

ExpiredDate

date

Data type: DateTime

CustomerCode

string

Required

String length: inclusive between 1 and 100

UpdateDate

date

Data type: DateTime

DocumentCloudPath

string

String length: inclusive between 0 and 300

PicturesCloudPath

string

String length: inclusive between 0 and 300

CloudPollingFreqSec

integer

Required

Range: inclusive between 0 and 9.22337203685478E+18

StorageAllocated

integer

Range: inclusive between 0 and 9.22337203685478E+18

CloudProvider

string

String length: inclusive between 0 and 100

PicturesPathMode

string

String length: inclusive between 0 and 100

OfficePhone

string

None.

OfficeEmail

string

None.

MessagesCheckFreq

integer

None.

OfficeType

byte

None.

FilesCheckFreq

integer

None.

TransactionId

string

String length: inclusive between 0 and 100

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "CustomerName": "sample string 2",
  "ExpiredDate": "2026-07-15T18:45:01.0850766+00:00",
  "CustomerCode": "sample string 4",
  "UpdateDate": "2026-07-15T18:45:01.0850766+00:00",
  "DocumentCloudPath": "sample string 6",
  "PicturesCloudPath": "sample string 7",
  "CloudPollingFreqSec": 8,
  "StorageAllocated": 9,
  "CloudProvider": "sample string 10",
  "PicturesPathMode": "sample string 11",
  "OfficePhone": "sample string 12",
  "OfficeEmail": "sample string 13",
  "MessagesCheckFreq": 1,
  "OfficeType": 64,
  "FilesCheckFreq": 1,
  "TransactionId": "sample string 15"
}

application/xml, text/xml

Sample:
<CustomerBindingModels.CustomerUpdateBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OmdanRestModels.Models.Binding_Models">
  <TransactionId>sample string 15</TransactionId>
  <CloudPollingFreqSec>8</CloudPollingFreqSec>
  <CloudProvider>sample string 10</CloudProvider>
  <CustomerCode>sample string 4</CustomerCode>
  <CustomerName>sample string 2</CustomerName>
  <DocumentCloudPath>sample string 6</DocumentCloudPath>
  <ExpiredDate>2026-07-15T18:45:01.0850766+00:00</ExpiredDate>
  <FilesCheckFreq>1</FilesCheckFreq>
  <MessagesCheckFreq>1</MessagesCheckFreq>
  <OfficeEmail>sample string 13</OfficeEmail>
  <OfficePhone>sample string 12</OfficePhone>
  <OfficeType>64</OfficeType>
  <PicturesCloudPath>sample string 7</PicturesCloudPath>
  <PicturesPathMode>sample string 11</PicturesPathMode>
  <StorageAllocated>9</StorageAllocated>
  <UpdateDate>2026-07-15T18:45:01.0850766+00:00</UpdateDate>
  <CustomerId>1</CustomerId>
</CustomerBindingModels.CustomerUpdateBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.