POST api/CustomerNote/{objId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
objId

globally unique identifier

Required

Body Parameters

CustomerNoteCreateModel
NameDescriptionTypeAdditional information
AttachFiles

Collection of CustomerNoteFileCreateModel

None.

Content

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AttachFiles": [
    {
      "Name": "sample string 1",
      "Url": "sample string 2"
    },
    {
      "Name": "sample string 1",
      "Url": "sample string 2"
    }
  ],
  "Content": "sample string 1"
}

application/xml, text/xml

Sample:
<CustomerNoteCreateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Vpm.CustomerNoteModels.EditModels">
  <Content xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Vpm.CustomerNoteModels.ShareModels">sample string 1</Content>
  <AttachFiles xmlns:d2p1="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Vpm.CustomerNoteFileModels.EditModels">
    <d2p1:CustomerNoteFileCreateModel>
      <Name xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Vpm.CustomerNoteFileModels.ShareModels">sample string 1</Name>
      <Url xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Vpm.CustomerNoteFileModels.ShareModels">sample string 2</Url>
    </d2p1:CustomerNoteFileCreateModel>
    <d2p1:CustomerNoteFileCreateModel>
      <Name xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Vpm.CustomerNoteFileModels.ShareModels">sample string 1</Name>
      <Url xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Vpm.CustomerNoteFileModels.ShareModels">sample string 2</Url>
    </d2p1:CustomerNoteFileCreateModel>
  </AttachFiles>
</CustomerNoteCreateModel>

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.