POST api/FinancesSap/SetCreditLimit

Request Information

URI Parameters

None.

Body Parameters

SetCreditLimitQueryModel
NameDescriptionTypeAdditional information
CreditLimit

decimal number

None.

CustomerCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CreditLimit": 1.0,
  "CustomerCode": "sample string 2"
}

application/xml, text/xml

Sample:
<SetCreditLimitQueryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ugur.RestApi2.Models">
  <CreditLimit>1</CreditLimit>
  <CustomerCode>sample string 2</CustomerCode>
</SetCreditLimitQueryModel>

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

Response Information

Resource Description

TResultOfZUSBS_BP_002_EXPORT
NameDescriptionTypeAdditional information
RecordCount

integer

None.

IsSuccessful

boolean

None.

Message

string

None.

Data

ZUSBS_BP_002_EXPORT

None.

DynamicProperty

Dictionary of string [key] and Object [value]

None.

Response Formats

application/json, text/json

Sample:
{
  "RecordCount": 1,
  "IsSuccessful": true,
  "Message": "sample string 3",
  "Data": {
    "IsSuccess": false,
    "EV_MESSAGE": "sample string 1",
    "EV_SUCCESS": "sample string 2"
  },
  "DynamicProperty": {
    "sample string 1": {},
    "sample string 3": {}
  }
}

application/xml, text/xml

Sample:
<TResultOfZUSBS_BP_002_EXPORTNYU2z2fs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GM.SAP.Models">
  <Data>
    <EV_MESSAGE>sample string 1</EV_MESSAGE>
    <EV_SUCCESS>sample string 2</EV_SUCCESS>
  </Data>
  <DynamicProperty xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringanyType>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value />
    </d2p1:KeyValueOfstringanyType>
    <d2p1:KeyValueOfstringanyType>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value />
    </d2p1:KeyValueOfstringanyType>
  </DynamicProperty>
  <IsSuccessful>true</IsSuccessful>
  <Message>sample string 3</Message>
  <RecordCount>1</RecordCount>
</TResultOfZUSBS_BP_002_EXPORTNYU2z2fs>