POST api/Customers/simple

Request Information

URI Parameters

None.

Body Parameters

SimpleCustomer
NameDescriptionTypeAdditional information
Code

globally unique identifier

None.

LastUpdateDate

date

None.

CreateDate

date

None.

OtsCode

string

None.

Name

string

Required

DownloadPath

string

None.

DaysForNagScreen

integer

None.

Hash

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Code": "a6783e75-8c0f-4667-92e1-869b6bac201e",
  "LastUpdateDate": "2025-03-13T11:58:31.4604093+08:00",
  "CreateDate": "2025-03-13T11:58:31.4604093+08:00",
  "OtsCode": "sample string 4",
  "Name": "sample string 5",
  "DownloadPath": "sample string 6",
  "DaysForNagScreen": 1,
  "Hash": "sample string 7"
}

application/xml, text/xml

Sample:
<SimpleCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OTS.Cloud.Licensing.Contracts.Models">
  <_x003C_Code_x003E_k__BackingField>a6783e75-8c0f-4667-92e1-869b6bac201e</_x003C_Code_x003E_k__BackingField>
  <_x003C_CreateDate_x003E_k__BackingField>2025-03-13T11:58:31.4604093+08:00</_x003C_CreateDate_x003E_k__BackingField>
  <_x003C_DaysForNagScreen_x003E_k__BackingField>1</_x003C_DaysForNagScreen_x003E_k__BackingField>
  <_x003C_DownloadPath_x003E_k__BackingField>sample string 6</_x003C_DownloadPath_x003E_k__BackingField>
  <_x003C_Hash_x003E_k__BackingField>sample string 7</_x003C_Hash_x003E_k__BackingField>
  <_x003C_LastUpdateDate_x003E_k__BackingField>2025-03-13T11:58:31.4604093+08:00</_x003C_LastUpdateDate_x003E_k__BackingField>
  <_x003C_Name_x003E_k__BackingField>sample string 5</_x003C_Name_x003E_k__BackingField>
  <_x003C_OtsCode_x003E_k__BackingField>sample string 4</_x003C_OtsCode_x003E_k__BackingField>
</SimpleCustomer>

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.