POST api/Customers/Insert

Request Information

URI Parameters

None.

Body Parameters

CustomerInsertBindingModel
NameDescriptionTypeAdditional information
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:
{
  "CustomerName": "sample string 1",
  "ExpiredDate": "2026-07-15T18:44:33.3235344+00:00",
  "CustomerCode": "sample string 3",
  "UpdateDate": "2026-07-15T18:44:33.3235344+00:00",
  "DocumentCloudPath": "sample string 5",
  "PicturesCloudPath": "sample string 6",
  "CloudPollingFreqSec": 7,
  "StorageAllocated": 8,
  "CloudProvider": "sample string 9",
  "PicturesPathMode": "sample string 10",
  "OfficePhone": "sample string 11",
  "OfficeEmail": "sample string 12",
  "MessagesCheckFreq": 1,
  "OfficeType": 64,
  "FilesCheckFreq": 1,
  "TransactionId": "sample string 14"
}

application/xml, text/xml

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

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.