POST api/CustPackage/Save?visitCode={visitCode}&send_sms={send_sms}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
visitCode

integer

Required

send_sms

boolean

Required

Body Parameters

CustPackageMain
NameDescriptionTypeAdditional information
parent

CustPackage

None.

childEmployee

Collection of CustPackageEmployee

None.

custPackageEmployee4Debit

Collection of CustPackageEmployee4Debit

None.

childEmployee_id2Delete

Collection of integer

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'CustDemog.BranchGroupKodMahon'. Path 'parent.BusinessBranches.BranchGroupKodMahons[0].Groups.BranchGroupKodMahons'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'CustDemog.BranchGroupKodMahon'. Path 'parent.BusinessBranches.BranchGroupKodMahons[0].Groups.BranchGroupKodMahons'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'CustDemog.BusinessBranch' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'CustDemog.BusinessBranch' contains cycles and cannot be serialized if reference tracking is disabled.

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

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.