POST api/CreditCharges/Save

Request Information

URI Parameters

None.

Body Parameters

CreditChargesViewModel
NameDescriptionTypeAdditional information
SmsPerSegmentCredit

decimal number

None.

EmailPerSegmentCredit

decimal number

None.

MmsPerSegmentCredit

decimal number

None.

VoicePerSegmentCredit

decimal number

None.

Id

string

None.

CreatedDate

date

None.

UpdatedDate

date

None.

CreatedBy

string

None.

UpdatedBy

string

None.

CreatedByUserId

string

None.

UpdatedByUserId

string

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "SmsPerSegmentCredit": 1.0,
  "EmailPerSegmentCredit": 2.0,
  "MmsPerSegmentCredit": 3.0,
  "VoicePerSegmentCredit": 4.0,
  "Id": "sample string 5",
  "CreatedDate": "2024-11-21T08:41:59.5901251+00:00",
  "UpdatedDate": "2024-11-21T08:41:59.5901251+00:00",
  "CreatedBy": "sample string 8",
  "UpdatedBy": "sample string 9",
  "CreatedByUserId": "sample string 10",
  "UpdatedByUserId": "sample string 11",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<CreditChargesViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel">
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 8</CreatedBy>
  <CreatedByUserId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 10</CreatedByUserId>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">2024-11-21T08:41:59.5901251+00:00</CreatedDate>
  <Id xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 5</Id>
  <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">true</IsDeleted>
  <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 9</UpdatedBy>
  <UpdatedByUserId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 11</UpdatedByUserId>
  <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">2024-11-21T08:41:59.5901251+00:00</UpdatedDate>
  <EmailPerSegmentCredit>2</EmailPerSegmentCredit>
  <MmsPerSegmentCredit>3</MmsPerSegmentCredit>
  <SmsPerSegmentCredit>1</SmsPerSegmentCredit>
  <VoicePerSegmentCredit>4</VoicePerSegmentCredit>
</CreditChargesViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>