POST api/CRMPackage

Insert New Package

Request Information

URI Parameters

None.

Body Parameters

Packages
NameDescriptionTypeAdditional information
PackageID

integer

None.

PackageCode

string

Required

String length: inclusive between 0 and 50

PackageName

string

Required

String length: inclusive between 0 and 200

Description

string

String length: inclusive between 0 and 1000

Title

string

String length: inclusive between 0 and 50

IsCustom

boolean

None.

IsEnabled

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "PackageID": 1,
  "PackageCode": "sample string 2",
  "PackageName": "sample string 3",
  "Description": "sample string 4",
  "Title": "sample string 5",
  "IsCustom": true,
  "IsEnabled": true
}

application/xml, text/xml

Sample:
<Packages xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sysmex.IT.NsGlobal.Models.CRM">
  <CreatedDateTime>2017-12-15T14:07:22.8298955-06:00</CreatedDateTime>
  <CreatedUserID>8</CreatedUserID>
  <UpdatedDateTime>2017-12-15T14:07:22.8298955-06:00</UpdatedDateTime>
  <UpdatedUserID>1</UpdatedUserID>
  <Description>sample string 4</Description>
  <IsCustom>true</IsCustom>
  <IsEnabled>true</IsEnabled>
  <PackageCode>sample string 2</PackageCode>
  <PackageID>1</PackageID>
  <PackageName>sample string 3</PackageName>
  <Title>sample string 5</Title>
</Packages>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.