POST api/Opportunity/CreateCrf

Request Information

URI Parameters

None.

Body Parameters

CreateCrfRequest
NameDescriptionTypeAdditional information
PotentialId

integer

None.

AccountId

integer

None.

UserId

integer

None.

BranchId

string

None.

OfficeSiteId

string

None.

AccTypeId

integer

None.

IndustryId

integer

None.

AccNational

string

None.

RoundingKilo

boolean

None.

InvoiceParsial

boolean

None.

VAT

decimal number

None.

AgreedRateId

integer

None.

DiscountId

integer

None.

AgreedNote

string

None.

EffectiveStartDate

date

None.

EffectiveEndDate

date

None.

PeriodeStartDate

date

None.

PeriodeEndDate

date

None.

ContractStartDate

date

None.

ContractEndDate

date

None.

BillPeriodId

integer

None.

Phone1

string

None.

Address

string

None.

Fax

string

None.

ProvinceId

integer

None.

CityId

integer

None.

DistrictId

integer

None.

Email

string

None.

ContactId

integer

None.

Title

string

None.

Npwp

string

None.

Departement

string

None.

HLICName

string

None.

MobileNo

string

None.

Designation

string

None.

MultipleAcc

boolean

None.

PrintOutId

integer

None.

CurrencyId

integer

None.

CreditLimit

decimal number

None.

TermOfPaymentId

integer

None.

ReturnPod

boolean

None.

PodFee

decimal number

None.

UseDocs

boolean

None.

CustomerDoc

string

None.

OtherDoc

string

None.

CommodityId

integer

None.

PayablePackaging

boolean

None.

FreightPerMonth

integer

None.

UseInsurance

boolean

None.

WeightPerMonth

integer

None.

DestinationRemarks

string

None.

FleetTypeId

integer

None.

PickupScheduleId

integer

None.

PickupStartTimeId

integer

None.

PickupEndTimeId

integer

None.

BillingContactId

integer

None.

BillingPhone

string

None.

BillingTitle

string

None.

BillingMobile

string

None.

BillingDepartement

string

None.

BillingEmail

string

None.

BillingAddress

string

None.

BillingCityId

integer

None.

BillingRequireId

integer

None.

CollectionRequireId

integer

None.

PickupContactId

integer

None.

PickupPhone

string

None.

PickupTitle

string

None.

PickupMobile

string

None.

PickupDepartement

string

None.

PickupEmail

string

None.

PickupAddress

string

None.

PickupRemarks

string

None.

PickupCityId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PotentialId": 1,
  "AccountId": 2,
  "UserId": 1,
  "BranchId": "sample string 3",
  "OfficeSiteId": "sample string 4",
  "AccTypeId": 5,
  "IndustryId": 1,
  "AccNational": "sample string 6",
  "RoundingKilo": true,
  "InvoiceParsial": true,
  "VAT": 1.1,
  "AgreedRateId": 1,
  "DiscountId": 1,
  "AgreedNote": "sample string 9",
  "EffectiveStartDate": "2026-09-06T16:38:30.2369592+07:00",
  "EffectiveEndDate": "2026-09-06T16:38:30.2369592+07:00",
  "PeriodeStartDate": "2026-09-06T16:38:30.2369592+07:00",
  "PeriodeEndDate": "2026-09-06T16:38:30.2369592+07:00",
  "ContractStartDate": "2026-09-06T16:38:30.2369592+07:00",
  "ContractEndDate": "2026-09-06T16:38:30.2369592+07:00",
  "BillPeriodId": 10,
  "Phone1": "sample string 11",
  "Address": "sample string 12",
  "Fax": "sample string 13",
  "ProvinceId": 14,
  "CityId": 15,
  "DistrictId": 1,
  "Email": "sample string 16",
  "ContactId": 17,
  "Title": "sample string 18",
  "Npwp": "sample string 19",
  "Departement": "sample string 20",
  "HLICName": "sample string 21",
  "MobileNo": "sample string 22",
  "Designation": "sample string 23",
  "MultipleAcc": true,
  "PrintOutId": 1,
  "CurrencyId": 1,
  "CreditLimit": 1.0,
  "TermOfPaymentId": 25,
  "ReturnPod": true,
  "PodFee": 1.0,
  "UseDocs": true,
  "CustomerDoc": "sample string 28",
  "OtherDoc": "sample string 29",
  "CommodityId": 1,
  "PayablePackaging": true,
  "FreightPerMonth": 31,
  "UseInsurance": true,
  "WeightPerMonth": 33,
  "DestinationRemarks": "sample string 34",
  "FleetTypeId": 1,
  "PickupScheduleId": 35,
  "PickupStartTimeId": 36,
  "PickupEndTimeId": 37,
  "BillingContactId": 38,
  "BillingPhone": "sample string 39",
  "BillingTitle": "sample string 40",
  "BillingMobile": "sample string 41",
  "BillingDepartement": "sample string 42",
  "BillingEmail": "sample string 43",
  "BillingAddress": "sample string 44",
  "BillingCityId": 45,
  "BillingRequireId": 46,
  "CollectionRequireId": 47,
  "PickupContactId": 1,
  "PickupPhone": "sample string 48",
  "PickupTitle": "sample string 49",
  "PickupMobile": "sample string 50",
  "PickupDepartement": "sample string 51",
  "PickupEmail": "sample string 52",
  "PickupAddress": "sample string 53",
  "PickupRemarks": "sample string 54",
  "PickupCityId": 1
}

application/xml, text/xml

Sample:
<CreateCrfRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apicrm.Models">
  <AccNational>sample string 6</AccNational>
  <AccTypeId>5</AccTypeId>
  <AccountId>2</AccountId>
  <Address>sample string 12</Address>
  <AgreedNote>sample string 9</AgreedNote>
  <AgreedRateId>1</AgreedRateId>
  <BillPeriodId>10</BillPeriodId>
  <BillingAddress>sample string 44</BillingAddress>
  <BillingCityId>45</BillingCityId>
  <BillingContactId>38</BillingContactId>
  <BillingDepartement>sample string 42</BillingDepartement>
  <BillingEmail>sample string 43</BillingEmail>
  <BillingMobile>sample string 41</BillingMobile>
  <BillingPhone>sample string 39</BillingPhone>
  <BillingRequireId>46</BillingRequireId>
  <BillingTitle>sample string 40</BillingTitle>
  <BranchId>sample string 3</BranchId>
  <CityId>15</CityId>
  <CollectionRequireId>47</CollectionRequireId>
  <CommodityId>1</CommodityId>
  <ContactId>17</ContactId>
  <ContractEndDate>2026-09-06T16:38:30.2369592+07:00</ContractEndDate>
  <ContractStartDate>2026-09-06T16:38:30.2369592+07:00</ContractStartDate>
  <CreditLimit>1</CreditLimit>
  <CurrencyId>1</CurrencyId>
  <CustomerDoc>sample string 28</CustomerDoc>
  <Departement>sample string 20</Departement>
  <Designation>sample string 23</Designation>
  <DestinationRemarks>sample string 34</DestinationRemarks>
  <DiscountId>1</DiscountId>
  <DistrictId>1</DistrictId>
  <EffectiveEndDate>2026-09-06T16:38:30.2369592+07:00</EffectiveEndDate>
  <EffectiveStartDate>2026-09-06T16:38:30.2369592+07:00</EffectiveStartDate>
  <Email>sample string 16</Email>
  <Fax>sample string 13</Fax>
  <FleetTypeId>1</FleetTypeId>
  <FreightPerMonth>31</FreightPerMonth>
  <HLICName>sample string 21</HLICName>
  <IndustryId>1</IndustryId>
  <InvoiceParsial>true</InvoiceParsial>
  <MobileNo>sample string 22</MobileNo>
  <MultipleAcc>true</MultipleAcc>
  <Npwp>sample string 19</Npwp>
  <OfficeSiteId>sample string 4</OfficeSiteId>
  <OtherDoc>sample string 29</OtherDoc>
  <PayablePackaging>true</PayablePackaging>
  <PeriodeEndDate>2026-09-06T16:38:30.2369592+07:00</PeriodeEndDate>
  <PeriodeStartDate>2026-09-06T16:38:30.2369592+07:00</PeriodeStartDate>
  <Phone1>sample string 11</Phone1>
  <PickupAddress>sample string 53</PickupAddress>
  <PickupCityId>1</PickupCityId>
  <PickupContactId>1</PickupContactId>
  <PickupDepartement>sample string 51</PickupDepartement>
  <PickupEmail>sample string 52</PickupEmail>
  <PickupEndTimeId>37</PickupEndTimeId>
  <PickupMobile>sample string 50</PickupMobile>
  <PickupPhone>sample string 48</PickupPhone>
  <PickupRemarks>sample string 54</PickupRemarks>
  <PickupScheduleId>35</PickupScheduleId>
  <PickupStartTimeId>36</PickupStartTimeId>
  <PickupTitle>sample string 49</PickupTitle>
  <PodFee>1</PodFee>
  <PotentialId>1</PotentialId>
  <PrintOutId>1</PrintOutId>
  <ProvinceId>14</ProvinceId>
  <ReturnPod>true</ReturnPod>
  <RoundingKilo>true</RoundingKilo>
  <TermOfPaymentId>25</TermOfPaymentId>
  <Title>sample string 18</Title>
  <UseDocs>true</UseDocs>
  <UseInsurance>true</UseInsurance>
  <UserId>1</UserId>
  <VAT>1.1</VAT>
  <WeightPerMonth>33</WeightPerMonth>
</CreateCrfRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.