POST api/CustomerDocument/InsertUpdateCustomerDocument

Request Information

URI Parameters

None.

Body Parameters

CustomerDocumentModel
NameDescriptionTypeAdditional information
CustomerDocumentId

integer

None.

CustomerId

integer

None.

DocumentTitle

string

None.

DocumentName

string

None.

DocumentUrl

string

None.

UploadedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerDocumentId": 1,
  "CustomerId": 2,
  "DocumentTitle": "sample string 3",
  "DocumentName": "sample string 4",
  "DocumentUrl": "sample string 5",
  "UploadedBy": 6
}

application/xml, text/xml

Sample:
<CustomerDocumentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OMSWebApi.Models">
  <CustomerDocumentId>1</CustomerDocumentId>
  <CustomerId>2</CustomerId>
  <DocumentName>sample string 4</DocumentName>
  <DocumentTitle>sample string 3</DocumentTitle>
  <DocumentUrl>sample string 5</DocumentUrl>
  <UploadedBy>6</UploadedBy>
</CustomerDocumentModel>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.