POST api/CustomerTypeGroupDetail/UploadDetail?CreatedBy={CreatedBy}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CreatedBy

integer

Required

Body Parameters

Collection of C_CustomerTypeGroupDetail
NameDescriptionTypeAdditional information
Id

integer

None.

CustomerCode

string

None.

CustomerType

integer

None.

GroupId

integer

None.

CreatedBy

integer

None.

CreatedOn

date

None.

ModifiedBy

integer

None.

ModifiedOn

date

None.

GroupWiseCreditLimit

decimal number

None.

GroupWiseCreditDays

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "CustomerCode": "sample string 2",
    "CustomerType": 3,
    "GroupId": 1,
    "CreatedBy": 1,
    "CreatedOn": "2024-04-27T23:32:29.1554494+00:00",
    "ModifiedBy": 1,
    "ModifiedOn": "2024-04-27T23:32:29.1554494+00:00",
    "GroupWiseCreditLimit": 1.1,
    "GroupWiseCreditDays": 1
  },
  {
    "Id": 1,
    "CustomerCode": "sample string 2",
    "CustomerType": 3,
    "GroupId": 1,
    "CreatedBy": 1,
    "CreatedOn": "2024-04-27T23:32:29.1554494+00:00",
    "ModifiedBy": 1,
    "ModifiedOn": "2024-04-27T23:32:29.1554494+00:00",
    "GroupWiseCreditLimit": 1.1,
    "GroupWiseCreditDays": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfC_CustomerTypeGroupDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
  <C_CustomerTypeGroupDetail>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-04-27T23:32:29.1554494+00:00</CreatedOn>
    <CustomerCode>sample string 2</CustomerCode>
    <CustomerType>3</CustomerType>
    <GroupId>1</GroupId>
    <GroupWiseCreditDays>1</GroupWiseCreditDays>
    <GroupWiseCreditLimit>1.1</GroupWiseCreditLimit>
    <Id>1</Id>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedOn>2024-04-27T23:32:29.1554494+00:00</ModifiedOn>
  </C_CustomerTypeGroupDetail>
  <C_CustomerTypeGroupDetail>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-04-27T23:32:29.1554494+00:00</CreatedOn>
    <CustomerCode>sample string 2</CustomerCode>
    <CustomerType>3</CustomerType>
    <GroupId>1</GroupId>
    <GroupWiseCreditDays>1</GroupWiseCreditDays>
    <GroupWiseCreditLimit>1.1</GroupWiseCreditLimit>
    <Id>1</Id>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedOn>2024-04-27T23:32:29.1554494+00:00</ModifiedOn>
  </C_CustomerTypeGroupDetail>
</ArrayOfC_CustomerTypeGroupDetail>

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 'C_CustomerTypeGroupDetail[]'.

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.