swagger.yaml 301 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.QueryNoticeRsp:
  22. properties:
  23. auditoruserid:
  24. description: 审核人
  25. type: integer
  26. auditremark:
  27. description: 审核备注
  28. type: string
  29. audittime:
  30. description: 审核日期
  31. type: string
  32. autoid:
  33. description: 自增ID
  34. type: integer
  35. content:
  36. description: 内容
  37. type: string
  38. createtime:
  39. description: 创建时间
  40. type: string
  41. creatorid:
  42. description: 建仓人
  43. type: integer
  44. endtime:
  45. description: 结束时间
  46. type: string
  47. istop:
  48. description: 是否置顶 - 0:不置顶 1:置顶
  49. type: integer
  50. msgiconurl:
  51. description: 消息图标Url
  52. type: string
  53. msgtype:
  54. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  55. type: integer
  56. publisher:
  57. description: 消息发布者
  58. type: string
  59. readed:
  60. description: 是否已读
  61. type: boolean
  62. scheduletime:
  63. description: 计划发送时间
  64. type: string
  65. sendtype:
  66. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  67. type: integer
  68. sentstatus:
  69. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  70. type: integer
  71. title:
  72. description: 标题
  73. type: string
  74. userid:
  75. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  76. type: integer
  77. required:
  78. - autoid
  79. type: object
  80. common.QueryProvincesAndCitiesRsp:
  81. properties:
  82. cities:
  83. description: 市
  84. items:
  85. $ref: '#/definitions/models.Division'
  86. type: array
  87. province:
  88. $ref: '#/definitions/models.Division'
  89. description: 省
  90. type: object
  91. common.QueryTableDefineRsp:
  92. properties:
  93. columns:
  94. description: 列头信息数组
  95. items:
  96. $ref: '#/definitions/models.Tablecolumnconfig'
  97. type: array
  98. remark:
  99. description: Remark
  100. type: string
  101. tabelmenu:
  102. description: 列表菜单
  103. type: string
  104. tablekey:
  105. description: 列表Key
  106. type: string
  107. tablename:
  108. description: 列表名称
  109. type: string
  110. tabletype:
  111. description: 列表类型 - 1:管理端 2:终端
  112. type: integer
  113. required:
  114. - tablekey
  115. type: object
  116. common.QueryTraderMenuRsp:
  117. properties:
  118. OperationMenu:
  119. description: 功能菜单
  120. items:
  121. $ref: '#/definitions/models.OperationPrimaryMenu'
  122. type: array
  123. QuoteMenu:
  124. description: 报价牌分类菜单
  125. items:
  126. $ref: '#/definitions/models.QuotePrimaryMenu'
  127. type: array
  128. type: object
  129. cptrade.Cptradepositioncancel:
  130. properties:
  131. accountid:
  132. description: 申请人账户ID
  133. type: integer
  134. applystatus:
  135. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  136. type: integer
  137. applytime:
  138. description: 申请时间
  139. type: string
  140. cancelid:
  141. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  142. type: integer
  143. cancelqty:
  144. description: 注销数量
  145. type: integer
  146. createtime:
  147. description: 创建时间
  148. type: string
  149. creatorid:
  150. description: 创建人ID
  151. type: integer
  152. creatorname:
  153. description: 创建人
  154. type: string
  155. goodscode:
  156. description: 订单商品代码
  157. type: string
  158. goodsid:
  159. description: 商品ID
  160. type: integer
  161. goodsname:
  162. description: 订单商品名称
  163. type: string
  164. goodunit:
  165. description: 报价单位
  166. type: string
  167. handlestatus:
  168. description: 处理状态
  169. type: integer
  170. marketid:
  171. description: 市场ID
  172. type: integer
  173. marketname:
  174. description: 市场名称
  175. type: string
  176. tradedate:
  177. description: 交易日(yyyyMMdd)
  178. type: string
  179. userid:
  180. description: 申请人ID
  181. type: integer
  182. required:
  183. - cancelid
  184. type: object
  185. cptrade.Cptradepresaleapply:
  186. properties:
  187. accountid:
  188. description: 申请人账户ID
  189. type: integer
  190. applyid:
  191. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  192. type: integer
  193. applyremark:
  194. description: 申请备注
  195. type: string
  196. applystatus:
  197. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  198. type: integer
  199. applytime:
  200. description: 申请时间
  201. type: string
  202. attachmenturl:
  203. description: 附件地址
  204. type: string
  205. endtime:
  206. description: 预售结束时间
  207. type: string
  208. goodscode:
  209. description: 商品代码
  210. type: string
  211. goodsid:
  212. description: 商品ID
  213. type: integer
  214. goodsname:
  215. description: 商品名称
  216. type: string
  217. goodunit:
  218. description: 报价单位
  219. type: string
  220. handlestatus:
  221. description: 处理状态
  222. type: integer
  223. marketid:
  224. description: 预售市场ID
  225. type: integer
  226. marketname:
  227. description: 预售市场名称
  228. type: string
  229. presaleqty:
  230. description: 预售数量
  231. type: integer
  232. relatedgoodscode:
  233. description: 关联交易合约代码
  234. type: string
  235. relatedgoodsid:
  236. description: 关联交易合约ID
  237. type: integer
  238. relatedgoodsname:
  239. description: 关联交易合约名称
  240. type: string
  241. starttime:
  242. description: 预售开始时间
  243. type: string
  244. tradedate:
  245. description: 交易日(yyyyMMdd)
  246. type: string
  247. trademode:
  248. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  249. type: integer
  250. userid:
  251. description: 申请人ID
  252. type: integer
  253. required:
  254. - applyid
  255. type: object
  256. cptrade.Cptradeusergoodsdata:
  257. properties:
  258. EnabledQty:
  259. description: 可用量
  260. type: integer
  261. GoodsCode:
  262. description: 订单商品代码
  263. type: string
  264. GoodsName:
  265. description: 订单商品名称
  266. type: string
  267. WRStandardCode:
  268. description: 仓单标准代码
  269. type: string
  270. WRStandardName:
  271. description: 仓单标准名称
  272. type: string
  273. accountid:
  274. description: 账户ID
  275. type: integer
  276. cancelqty:
  277. description: 注销量
  278. type: integer
  279. curpresaleqty:
  280. description: 当前预售量
  281. type: integer
  282. deliveryqty:
  283. description: 交割量
  284. type: integer
  285. freezeamount:
  286. description: 冻结金额
  287. type: number
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodunit:
  292. description: 报价单位
  293. type: string
  294. hasspotfreeze:
  295. description: 是否有现货冻结 - 0:否 1:有
  296. type: integer
  297. inqty:
  298. description: 转入量(总数量)
  299. type: integer
  300. marketid:
  301. description: 市场ID
  302. type: integer
  303. presaledamount:
  304. description: 已预售总金额
  305. type: integer
  306. presaledqty:
  307. description: 已预售量
  308. type: integer
  309. userid:
  310. description: 用户ID
  311. type: integer
  312. wrstandardid:
  313. description: 仓单标准ID
  314. type: integer
  315. required:
  316. - accountid
  317. - goodsid
  318. type: object
  319. cptrade.QueryCPTradeMyBidRsp:
  320. properties:
  321. accountid:
  322. description: 账户ID[报价币种]
  323. type: integer
  324. goodsid:
  325. description: 商品ID
  326. type: integer
  327. goodunit:
  328. description: 报价单位
  329. type: string
  330. marketid:
  331. description: 市场ID
  332. type: integer
  333. orderid:
  334. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  335. type: integer
  336. orderprice:
  337. description: 委托价格
  338. type: number
  339. orderqty:
  340. description: 委托数量
  341. type: integer
  342. ordertime:
  343. description: 委托时间
  344. type: string
  345. ordertotalprice:
  346. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  347. type: number
  348. ordertotalweight:
  349. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  350. type: integer
  351. totaltotalprice:
  352. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  353. type: number
  354. tradeprice:
  355. description: 成交价格
  356. type: number
  357. tradeqty:
  358. description: 成交数量
  359. type: integer
  360. required:
  361. - accountid
  362. - goodsid
  363. - marketid
  364. - orderid
  365. - orderqty
  366. - ordertime
  367. - tradeprice
  368. - tradeqty
  369. type: object
  370. cptrade.QueryCPTradeOrderDetailRsq:
  371. properties:
  372. accountid:
  373. description: 账户ID[报价币种]
  374. type: integer
  375. buildtype:
  376. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  377. type: integer
  378. buyorsell:
  379. description: 买卖 - 0:买 1:卖
  380. type: integer
  381. cancelorderid:
  382. description: 撤单单号(撤单时填写)
  383. type: integer
  384. cancelqty:
  385. description: 撤单数量
  386. type: integer
  387. clientordertime:
  388. description: 客户端委托时间
  389. type: string
  390. clientticket:
  391. description: 客户端流水号
  392. type: string
  393. clienttype:
  394. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  395. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  396. type: integer
  397. closeexchagechargevalue:
  398. description: 平仓交易所手续费设置值
  399. type: number
  400. closefeealgorithm:
  401. description: 平仓手续费收取方式 1:比率 2:固定
  402. type: integer
  403. closefreezecharge:
  404. description: 平仓冻结手续费(先建后平操作,需要记录)
  405. type: number
  406. closememberchargevalue:
  407. description: 平仓会员手续费设置值
  408. type: number
  409. closeqty:
  410. description: 平仓数量(先建后平操作 需要记录)
  411. type: integer
  412. closetradeqty:
  413. description: 平仓成交数量(先建后平操作,需要记录)
  414. type: integer
  415. closeunfreezecharge:
  416. description: 平仓解冻手续费(先建后平操作,需要记录)
  417. type: number
  418. delistingtype:
  419. description: 摘牌类型 - 1:价格最优 2:点选成交
  420. type: integer
  421. freezecharge:
  422. description: 冻结手续费
  423. type: number
  424. freezemargin:
  425. description: 冻结保证金(冻结交易金额)
  426. type: number
  427. gcaccountid:
  428. description: 账户ID[合约币种]
  429. type: integer
  430. goodsid:
  431. description: 商品ID
  432. type: integer
  433. isconfirmexercise:
  434. description: 是否确认行权- 0:否 1:是
  435. type: integer
  436. ispreexercise:
  437. description: 是否预申报- 0:否 1:是
  438. type: integer
  439. listingselecttype:
  440. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  441. type: integer
  442. marginalgorithm:
  443. description: 保证金收取方式 1:比率 2:固定
  444. type: integer
  445. marginvalue:
  446. description: 即市保证金设置值
  447. type: number
  448. marketid:
  449. description: 市场ID
  450. type: integer
  451. marketmaxsub:
  452. description: 市价最大偏移范围
  453. type: number
  454. memberuserid:
  455. description: 所属会员UserID
  456. type: integer
  457. openexchagechargevalue:
  458. description: 建仓交易所手续费设置值
  459. type: number
  460. openfeealgorithm:
  461. description: 建仓手续费收取方式 1:比率 2:固定
  462. type: integer
  463. openfreezecharge:
  464. description: 开仓冻结手续费(先建后平操作,需要记录)
  465. type: number
  466. openmemberchargevalue:
  467. description: 建仓会员手续费设置值
  468. type: number
  469. openqty:
  470. description: 开仓数量(先建后平操作,需要记录)
  471. type: integer
  472. opentradeqty:
  473. description: 开仓成交数量(先建后平操作,需要记录)
  474. type: integer
  475. openunfreezecharge:
  476. description: 开仓解冻手续费(先建后平操作,需要记录)
  477. type: number
  478. operatetype:
  479. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  480. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  481. 15:管理端协议转让
  482. type: integer
  483. operatorid:
  484. description: 登录账号(LoginID)
  485. type: integer
  486. optiontype:
  487. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  488. type: integer
  489. orderprice:
  490. description: 委托价格
  491. type: number
  492. orderqty:
  493. description: 委托数量
  494. type: integer
  495. ordersrc:
  496. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  497. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  498. type: integer
  499. orderstatus:
  500. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  501. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  502. 16:成交失败违约(荷兰式竞拍专用)
  503. type: integer
  504. ordertime:
  505. description: 委托时间
  506. type: string
  507. preexerciseprice:
  508. description: 预申报价格
  509. type: number
  510. premium:
  511. description: 权利金
  512. type: number
  513. preorderid:
  514. description: 关联预埋单号(止盈止损单时填写)
  515. type: integer
  516. pricemode:
  517. description: '取价方式 - 1:市价 2: 限价'
  518. type: integer
  519. quoteid:
  520. description: 报价单ID
  521. type: integer
  522. relatedid:
  523. description: 关联单号(交割单)
  524. type: integer
  525. retcode:
  526. description: 错误代码
  527. type: integer
  528. sessionid:
  529. description: 会话ID
  530. type: integer
  531. strorderid:
  532. description: 委托单号
  533. type: string
  534. tradedate:
  535. description: 交易日(yyyyMMdd)
  536. type: string
  537. tradeproperty:
  538. description: 交易属性
  539. type: integer
  540. tradeqty:
  541. description: 成交数量
  542. type: integer
  543. unfreezecharge:
  544. description: 解冻手续费
  545. type: number
  546. unfreezemargin:
  547. description: 解冻保证金
  548. type: number
  549. updatetime:
  550. description: 更新时间
  551. type: string
  552. uuid:
  553. description: 发起端唯一id
  554. type: string
  555. validtime:
  556. description: 有效期限
  557. type: string
  558. validtype:
  559. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  560. type: integer
  561. volumetype:
  562. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  563. type: integer
  564. required:
  565. - accountid
  566. - buildtype
  567. - buyorsell
  568. - goodsid
  569. - marketid
  570. - memberuserid
  571. - operatetype
  572. - orderqty
  573. - ordertime
  574. - pricemode
  575. - strorderid
  576. - tradedate
  577. - validtype
  578. type: object
  579. cptrade.QueryMyCPTradeGoodsRsp:
  580. properties:
  581. accountid:
  582. description: 卖方账户ID
  583. type: integer
  584. agreeunit:
  585. description: 合约单位
  586. type: number
  587. applyid:
  588. description: 关联申请ID
  589. type: integer
  590. attachmenturl:
  591. description: 附件地址
  592. type: string
  593. createtime:
  594. description: 创建时间
  595. type: string
  596. currencyid:
  597. description: 报价货币ID
  598. type: integer
  599. decimalplace:
  600. description: 报价小数位
  601. type: integer
  602. endtime:
  603. description: 预售结束时间
  604. type: string
  605. floorprice:
  606. description: 底价[大宗式竞拍]
  607. type: number
  608. goodscode:
  609. description: 商品代码(预售)
  610. type: string
  611. goodsdetail:
  612. description: 详情[大宗]
  613. type: string
  614. goodsid:
  615. description: 商品ID(自增ID SEQ_GOODS)
  616. type: integer
  617. goodsname:
  618. description: 商品名称(预售)
  619. type: string
  620. goodunit:
  621. description: 报价单位
  622. type: string
  623. goodunitid:
  624. description: 报价单位ID
  625. type: integer
  626. marketid:
  627. description: 所属市场ID
  628. type: integer
  629. marketname:
  630. description: 预售市场名称
  631. type: string
  632. presaledamount:
  633. description: 已预售总金额(预售结束时更新)
  634. type: number
  635. presaledqty:
  636. description: 已预售量(预售结束时更新)
  637. type: integer
  638. presalemode:
  639. description: 预售模式 - 1:一口价 2:大宗式竞拍
  640. type: integer
  641. presaleqty:
  642. description: 预售数量
  643. type: integer
  644. refprice:
  645. description: 参考价格[一口价]
  646. type: number
  647. relatedgoodscode:
  648. description: 商品代码(订单)
  649. type: string
  650. relatedgoodsid:
  651. description: 关联交易合约ID
  652. type: integer
  653. relatedgoodsname:
  654. description: 商品名称(订单)
  655. type: string
  656. relatedmarketid:
  657. description: 关联交易合约市场ID
  658. type: integer
  659. sellstatus:
  660. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  661. type: integer
  662. startprice:
  663. description: 起拍价[大宗式竞拍]
  664. type: number
  665. starttime:
  666. description: 预售开始时间
  667. type: string
  668. tradedate:
  669. description: 交易日(yyyyMMdd)
  670. type: string
  671. tradeprice:
  672. description: 成交价[大宗]
  673. type: number
  674. userid:
  675. description: 卖方用户ID
  676. type: integer
  677. required:
  678. - goodscode
  679. - goodsid
  680. - goodsname
  681. - marketid
  682. - relatedgoodscode
  683. - relatedgoodsname
  684. type: object
  685. cptrade.QueryPresaleGoodsExRsp:
  686. properties:
  687. attachmenturl:
  688. description: 附件地址
  689. type: string
  690. createtime:
  691. description: 创建时间
  692. type: string
  693. endtime:
  694. description: 预售结束时间
  695. type: string
  696. floorprice:
  697. description: 底价[大宗式竞拍]
  698. type: number
  699. goodsdetail:
  700. description: 详情[大宗]
  701. type: string
  702. goodsid:
  703. description: 商品ID(预售)
  704. type: integer
  705. goodunit:
  706. description: 报价单位
  707. type: string
  708. marketid:
  709. description: 预售市场ID - 根据预售模式选择市场
  710. type: integer
  711. presaledamount:
  712. description: 已预售总金额(预售结束时更新)
  713. type: number
  714. presaledqty:
  715. description: 已预售量(预售结束时更新)
  716. type: integer
  717. presalemode:
  718. description: 预售模式 - 1:一口价 2:大宗式竞拍
  719. type: integer
  720. presaleqty:
  721. description: 预售数量
  722. type: integer
  723. refprice:
  724. description: 参考价格[一口价]
  725. type: number
  726. relatedgoodsid:
  727. description: 关联交易合约ID
  728. type: integer
  729. relatedmarketid:
  730. description: 关联交易合约市场ID
  731. type: integer
  732. sellstatus:
  733. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  734. type: integer
  735. startprice:
  736. description: 起拍价[大宗式竞拍]
  737. type: number
  738. starttime:
  739. description: 预售开始时间
  740. type: string
  741. tradedate:
  742. description: 交易日(yyyyMMdd)
  743. type: string
  744. tradeprice:
  745. description: 成交价[大宗]
  746. type: number
  747. required:
  748. - goodsid
  749. type: object
  750. delivery.QueryDeliveryRelationRsp:
  751. properties:
  752. begindate:
  753. description: 起始日期(yyyyMMdd)
  754. type: string
  755. buytemplateid:
  756. description: 买履约计划模板ID
  757. type: integer
  758. deliverygoodscode:
  759. description: 品种代码
  760. type: string
  761. deliverygoodsid:
  762. description: 交割商品
  763. type: integer
  764. deliverygoodsname:
  765. description: 品种名称
  766. type: string
  767. deliverymode:
  768. description: 交割方式 - 1:点选式 2:申报式
  769. type: integer
  770. deliverypricerule:
  771. description: 交割价规则- 1:行情价 2:建仓价
  772. type: integer
  773. deliverytype:
  774. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  775. type: integer
  776. enddate:
  777. description: 结束日期(yyyyMMdd)
  778. type: string
  779. goodscode:
  780. description: 商品代码
  781. type: string
  782. goodsid:
  783. description: 交易合约ID
  784. type: integer
  785. goodsname:
  786. description: 商品名称
  787. type: string
  788. marketid:
  789. description: 市场ID
  790. type: integer
  791. mindeliveryqty:
  792. description: 最小交割系数(K)
  793. type: integer
  794. p2deliveryprice:
  795. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  796. type: number
  797. p2deliveryratio:
  798. description: P2合约系数(p)
  799. type: integer
  800. p2goodsid:
  801. description: P2合约ID
  802. type: integer
  803. p2pricemode:
  804. description: P2合约价格方式 - 1:商品价 2:固定值
  805. type: integer
  806. pdeliveryprice:
  807. description: P合约价格(商品价时填写0,固定值时填写固定值)
  808. type: number
  809. pdeliveryratio:
  810. description: P合约系数(n)
  811. type: integer
  812. pgoodsid:
  813. description: P合约ID
  814. type: integer
  815. ppricemode:
  816. description: P合约价格方式 - 1:商品价 2:固定值
  817. type: integer
  818. rratio:
  819. description: 兑换系数(R)
  820. type: integer
  821. rratio1:
  822. description: 兑换系数(交易合约)(R1)
  823. type: integer
  824. rratio2:
  825. description: 兑换系数(仓单标准)(R2)
  826. type: integer
  827. selltemplateid:
  828. description: 卖履约计划模板ID
  829. type: integer
  830. wrstandardid:
  831. description: 仓单标准ID
  832. type: integer
  833. xdeliveryratio:
  834. description: 交易合约系数(m)
  835. type: integer
  836. required:
  837. - begindate
  838. - enddate
  839. - goodsid
  840. - mindeliveryqty
  841. - xdeliveryratio
  842. type: object
  843. ermcp.ExposureDetailRsp:
  844. properties:
  845. areauserid:
  846. description: 机构ID
  847. type: integer
  848. changeQty:
  849. description: 套保变动量
  850. type: number
  851. contracttype:
  852. description: 现货合同类型 - 1:采购 -1:销售
  853. type: integer
  854. convertfactor:
  855. description: 标仓系数
  856. type: number
  857. convertratio:
  858. description: 套保系数
  859. type: number
  860. createtime:
  861. description: 时间
  862. type: string
  863. enumdicname:
  864. description: 现货商品单位名称
  865. type: string
  866. logtype:
  867. description: 类型 - 1:套保计划 2:现货合同
  868. type: integer
  869. middlegoodsId:
  870. description: 套保商品id
  871. type: integer
  872. middlegoodscode:
  873. description: 套保商品代码
  874. type: string
  875. middlegoodsname:
  876. description: 套保商品名称
  877. type: string
  878. qty:
  879. description: 数量
  880. type: number
  881. relateNo:
  882. description: 现货合同/套保计划编号
  883. type: string
  884. wrstandardcode:
  885. description: 现货商品代码
  886. type: string
  887. wrstandardid:
  888. description: 现货商品ID
  889. type: integer
  890. wrstandardname:
  891. description: 现货商品名称
  892. type: string
  893. type: object
  894. ermcp.ExposureHedgePosDetailRsp:
  895. properties:
  896. buyorsell:
  897. description: 买卖方向 0-买 1-卖
  898. type: integer
  899. channelbuildtype:
  900. description: 开平方向 1-建仓 2-平仓
  901. type: integer
  902. goodscode:
  903. description: 商品代码
  904. type: string
  905. goodsname:
  906. description: 商品名称
  907. type: string
  908. hedgegoodsid:
  909. description: 商品id
  910. type: integer
  911. tradeqty:
  912. description: 数量(成交数量)
  913. type: integer
  914. tradetime:
  915. description: 时间(成交时间)
  916. type: string
  917. type: object
  918. ermcp.ExposureHedgePositionRsp:
  919. properties:
  920. accountid:
  921. description: 资金账号[外部母账户]
  922. type: integer
  923. curbuyposition:
  924. description: 期末买头寸
  925. type: integer
  926. cursellposition:
  927. description: 期末卖头寸
  928. type: integer
  929. curtdbuyposition:
  930. description: 期末今日买头寸
  931. type: integer
  932. curtdsellposition:
  933. description: 期末今日卖头寸
  934. type: integer
  935. curydbuyposition:
  936. description: 期末上日买头寸
  937. type: integer
  938. curydsellposition:
  939. description: 期末上日卖头寸
  940. type: integer
  941. decreaseqty:
  942. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  943. type: integer
  944. fretdbuyposition:
  945. description: 冻结今日买头寸
  946. type: integer
  947. fretdsellposition:
  948. description: 冻结今日卖头寸
  949. type: integer
  950. freydbuyposition:
  951. description: 冻结上日买头寸
  952. type: integer
  953. freydsellposition:
  954. description: 冻结上日卖头寸
  955. type: integer
  956. goodscode:
  957. description: 商品代码
  958. type: string
  959. goodsid:
  960. description: 商品id
  961. type: integer
  962. goodsname:
  963. description: 商品名称
  964. type: string
  965. hedgeaccountcode:
  966. description: 对冲账号
  967. type: string
  968. hedgegoodsid:
  969. description: 对冲合约ID
  970. type: integer
  971. increaseqty:
  972. description: 增加数量 = 期末买头寸 - 期初买头寸
  973. type: integer
  974. marketid:
  975. description: 市场ID
  976. type: integer
  977. relateduserid:
  978. description: 关联用户id
  979. type: integer
  980. totalcurqty:
  981. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  982. type: integer
  983. totalydqty:
  984. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  985. type: integer
  986. tradedate:
  987. description: 交易日(yyyyMMdd)
  988. type: string
  989. ydbuyposition:
  990. description: 期初买头寸
  991. type: integer
  992. ydsellposition:
  993. description: 期初卖头寸
  994. type: integer
  995. type: object
  996. ermcp.ExposureSpotDetailRsp:
  997. properties:
  998. contracttype:
  999. description: 合同类型 1-采购 -1-销售
  1000. type: integer
  1001. enumdicname:
  1002. description: 现货商品单位名称
  1003. type: string
  1004. logtype:
  1005. description: 记录类型 1-套保 2-现货合同
  1006. type: integer
  1007. qty:
  1008. description: 数量
  1009. type: number
  1010. recordname:
  1011. description: 类型名称
  1012. type: string
  1013. relatedid:
  1014. description: 套保计划ID/现货合同ID
  1015. type: string
  1016. relatedno:
  1017. description: 编号
  1018. type: string
  1019. strtime:
  1020. description: 时间
  1021. type: string
  1022. wrstandardcode:
  1023. description: 现货商品代码
  1024. type: string
  1025. wrstandardname:
  1026. description: 现货商品名称
  1027. type: string
  1028. type: object
  1029. ermcp.ExposureSpotRsp:
  1030. properties:
  1031. areauserid:
  1032. description: 所属机构
  1033. type: integer
  1034. decreaseqty:
  1035. description: 减少数量=-(销售已定价数量+采购计划数量)
  1036. type: number
  1037. increaseqty:
  1038. description: 增加数量=销售计划数量+采购已定价数量
  1039. type: number
  1040. oritoalspotqty:
  1041. description: 昨日数量
  1042. type: number
  1043. totalspotqty:
  1044. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1045. type: number
  1046. updatetime:
  1047. description: 更新时间
  1048. type: string
  1049. wrstandardcode:
  1050. description: 现货品种代码
  1051. type: string
  1052. wrstandardid:
  1053. description: 现货商品ID
  1054. type: integer
  1055. wrstandardname:
  1056. description: 现货品种
  1057. type: string
  1058. type: object
  1059. ermcp.HisExposureRsp:
  1060. properties:
  1061. areauserid:
  1062. description: 所属机构
  1063. type: integer
  1064. middlegoodscode:
  1065. description: 套保品种代码
  1066. type: string
  1067. middlegoodsid:
  1068. description: 套保品种ID
  1069. type: integer
  1070. middlegoodsname:
  1071. description: 套保品种名称
  1072. type: string
  1073. needhedgeexposourE:
  1074. description: 应套保敞口
  1075. type: number
  1076. needhedgeratio:
  1077. description: 应套保敞口比例
  1078. type: number
  1079. reckondate:
  1080. description: 日照时期(yyyyMMdd)
  1081. type: string
  1082. totalexposure:
  1083. description: 总敞口
  1084. type: number
  1085. totalfutureqty:
  1086. description: 期货头寸总量
  1087. type: number
  1088. totalhedgeratio:
  1089. description: 敞口比例
  1090. type: number
  1091. totalneedhedgeqty:
  1092. description: 应套保总量
  1093. type: number
  1094. totalspotqty:
  1095. description: 现货头寸总量
  1096. type: number
  1097. type: object
  1098. ermcp.QryAvalidGPRsp:
  1099. properties:
  1100. goodsgroupid:
  1101. description: 期货品种id
  1102. type: integer
  1103. goodsgroupname:
  1104. description: 期货品种名称
  1105. type: string
  1106. goodunitid:
  1107. description: 品种单位id
  1108. type: integer
  1109. goodunitname:
  1110. description: 品种单位名称
  1111. type: string
  1112. outergroupcode:
  1113. description: 期货品种代码
  1114. type: string
  1115. type: object
  1116. ermcp.QryBusinessDjRsp:
  1117. properties:
  1118. amount:
  1119. description: 点价金额=(点价价格+升贴水)*点价数量
  1120. type: number
  1121. applyid:
  1122. description: 申请人
  1123. type: string
  1124. applyname:
  1125. description: 申请人名称
  1126. type: string
  1127. applystatus:
  1128. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1129. type: integer
  1130. applytime:
  1131. description: 申请时间
  1132. type: string
  1133. auditname:
  1134. description: 审核人名称
  1135. type: string
  1136. audittime:
  1137. description: 审核时间
  1138. type: string
  1139. buyusername:
  1140. description: 采购方名称
  1141. type: string
  1142. contractno:
  1143. description: 合同编号
  1144. type: string
  1145. contractstatus:
  1146. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1147. type: integer
  1148. contracttype:
  1149. description: 现货合同类型 - 1:采购 -1:销售
  1150. type: integer
  1151. enumdicname:
  1152. description: 单位名称
  1153. type: string
  1154. goodscode:
  1155. description: 点价合约
  1156. type: string
  1157. goodsname:
  1158. description: 商品名称
  1159. type: string
  1160. operateapplyid:
  1161. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1162. type: string
  1163. operateapplytype:
  1164. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1165. type: integer
  1166. pricedPrice:
  1167. description: 点价价格(非必填)
  1168. type: number
  1169. pricedQty:
  1170. description: 点价数量(非必填)
  1171. type: number
  1172. pricemove:
  1173. description: 升贴水
  1174. type: number
  1175. pricetype:
  1176. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1177. type: integer
  1178. relatedid:
  1179. description: 现货合同ID
  1180. type: string
  1181. sellusername:
  1182. description: 销售方名字
  1183. type: string
  1184. userid:
  1185. description: 用户ID
  1186. type: integer
  1187. type: object
  1188. ermcp.QryBussinessFpRsp:
  1189. properties:
  1190. applyid:
  1191. description: 申请人
  1192. type: string
  1193. applyname:
  1194. description: 申请人名称
  1195. type: string
  1196. applystatus:
  1197. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1198. type: integer
  1199. applytime:
  1200. description: 申请时间
  1201. type: string
  1202. auditname:
  1203. description: 审核人名称
  1204. type: string
  1205. audittime:
  1206. description: 审核时间
  1207. type: string
  1208. buyusername:
  1209. description: 采购方名称
  1210. type: string
  1211. contractno:
  1212. description: 合同编号
  1213. type: string
  1214. contractstatus:
  1215. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1216. type: integer
  1217. contracttype:
  1218. description: 现货合同类型 - 1:采购 -1:销售
  1219. type: integer
  1220. enumdicname:
  1221. description: 单位名称
  1222. type: string
  1223. goodscode:
  1224. description: 点价合约
  1225. type: string
  1226. goodsname:
  1227. description: 商品名称
  1228. type: string
  1229. invoiceAmount:
  1230. description: 已开收票金额(销售为开票,采购为收票)
  1231. type: number
  1232. operateapplyid:
  1233. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1234. type: string
  1235. operateapplytype:
  1236. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1237. type: integer
  1238. pricemove:
  1239. description: 升贴水
  1240. type: number
  1241. pricetype:
  1242. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1243. type: integer
  1244. relatedid:
  1245. description: 现货合同ID
  1246. type: string
  1247. sellusername:
  1248. description: 销售方名字
  1249. type: string
  1250. userid:
  1251. description: 用户ID
  1252. type: integer
  1253. type: object
  1254. ermcp.QryBussinessJsRsp:
  1255. properties:
  1256. addmargin:
  1257. description: 追加保证金(非必填)
  1258. type: number
  1259. applyid:
  1260. description: 申请人
  1261. type: string
  1262. applyname:
  1263. description: 申请人名称
  1264. type: string
  1265. applystatus:
  1266. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1267. type: integer
  1268. applytime:
  1269. description: 申请时间
  1270. type: string
  1271. auditname:
  1272. description: 审核人名称
  1273. type: string
  1274. audittime:
  1275. description: 审核时间
  1276. type: string
  1277. buyusername:
  1278. description: 采购方名称
  1279. type: string
  1280. contractno:
  1281. description: 合同编号
  1282. type: string
  1283. contractstatus:
  1284. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1285. type: integer
  1286. contracttype:
  1287. description: 现货合同类型 - 1:采购 -1:销售
  1288. type: integer
  1289. decmargin:
  1290. description: 减少保证金(非必填)
  1291. type: number
  1292. enumdicname:
  1293. description: 单位名称
  1294. type: string
  1295. goodscode:
  1296. description: 点价合约
  1297. type: string
  1298. goodsname:
  1299. description: 商品名称
  1300. type: string
  1301. operateapplyid:
  1302. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1303. type: string
  1304. operateapplytype:
  1305. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1306. type: integer
  1307. pricemove:
  1308. description: 升贴水
  1309. type: number
  1310. pricetype:
  1311. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1312. type: integer
  1313. reckonadjustamount:
  1314. description: 结算调整金额(非必填)
  1315. type: number
  1316. reckonosamount:
  1317. description: 结算溢短金额(非必填)
  1318. type: number
  1319. reckonotheramount:
  1320. description: 结算其他费用(非必填)
  1321. type: number
  1322. reckonrealqty:
  1323. description: 结算实际数量(非必填)
  1324. type: number
  1325. relatedid:
  1326. description: 现货合同ID
  1327. type: string
  1328. sellusername:
  1329. description: 销售方名字
  1330. type: string
  1331. userid:
  1332. description: 用户ID
  1333. type: integer
  1334. type: object
  1335. ermcp.QryBussinessKxRsp:
  1336. properties:
  1337. applyid:
  1338. description: 申请人
  1339. type: string
  1340. applyname:
  1341. description: 申请人名称
  1342. type: string
  1343. applystatus:
  1344. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1345. type: integer
  1346. applytime:
  1347. description: 申请时间
  1348. type: string
  1349. auditname:
  1350. description: 审核人名称
  1351. type: string
  1352. audittime:
  1353. description: 审核时间
  1354. type: string
  1355. buyusername:
  1356. description: 采购方名称
  1357. type: string
  1358. contractno:
  1359. description: 合同编号
  1360. type: string
  1361. contractstatus:
  1362. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1363. type: integer
  1364. contracttype:
  1365. description: 现货合同类型 - 1:采购 -1:销售
  1366. type: integer
  1367. deductamount:
  1368. description: 退款(非必填)
  1369. type: number
  1370. enumdicname:
  1371. description: 单位名称
  1372. type: string
  1373. goodscode:
  1374. description: 点价合约
  1375. type: string
  1376. goodsname:
  1377. description: 商品名称
  1378. type: string
  1379. kxtype:
  1380. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1381. type: integer
  1382. operateapplyid:
  1383. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1384. type: string
  1385. operateapplytype:
  1386. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1387. type: integer
  1388. payamount:
  1389. description: 收付款(非必填)
  1390. type: number
  1391. pricemove:
  1392. description: 升贴水
  1393. type: number
  1394. pricetype:
  1395. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1396. type: integer
  1397. relatedid:
  1398. description: 现货合同ID
  1399. type: string
  1400. sellusername:
  1401. description: 销售方名字
  1402. type: string
  1403. userid:
  1404. description: 用户ID
  1405. type: integer
  1406. type: object
  1407. ermcp.QryErmcpRsp:
  1408. properties:
  1409. accountname:
  1410. description: 账户名称
  1411. type: string
  1412. audittime:
  1413. description: 审核时间
  1414. type: string
  1415. contracctstatus:
  1416. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1417. type: integer
  1418. contractmargin:
  1419. description: 合同保证金
  1420. type: number
  1421. contractno:
  1422. description: 合同编号
  1423. type: string
  1424. contracttype:
  1425. description: 合同类型 1-采购, -1-销售
  1426. type: integer
  1427. convertfactor:
  1428. description: 标仓系数
  1429. type: number
  1430. daikaiamount:
  1431. description: 待开票额
  1432. type: number
  1433. deliveryenddate:
  1434. description: 交割结束日
  1435. type: string
  1436. deliverygoodscode:
  1437. description: 现货商品代码
  1438. type: string
  1439. deliverygoodsid:
  1440. description: 现货商品ID
  1441. type: integer
  1442. deliverygoodsname:
  1443. description: 现货商品名称
  1444. type: string
  1445. deliverystartdate:
  1446. description: 交割开始日
  1447. type: string
  1448. enddate:
  1449. description: 点价结束日
  1450. type: string
  1451. enumdicname:
  1452. description: 单位名称
  1453. type: string
  1454. goodscode:
  1455. description: 点价商品代码
  1456. type: string
  1457. goodsid:
  1458. description: 点价商品ID
  1459. type: integer
  1460. invoiceamount:
  1461. description: 已开票额
  1462. type: number
  1463. loanamount:
  1464. description: 贷款总额=已定价额+调整金额
  1465. type: number
  1466. margin:
  1467. description: 保证金
  1468. type: number
  1469. payamount:
  1470. description: 已收付额(收款或付款)
  1471. type: number
  1472. price:
  1473. description: 价格
  1474. type: number
  1475. pricedamount:
  1476. description: 已定价额
  1477. type: number
  1478. pricedavg:
  1479. description: 已点均价
  1480. type: number
  1481. pricedqty:
  1482. description: 已定价量
  1483. type: number
  1484. pricemove:
  1485. description: 升贴水
  1486. type: number
  1487. pricetype:
  1488. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1489. type: integer
  1490. producttype:
  1491. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1492. type: integer
  1493. qty:
  1494. description: 合同量
  1495. type: number
  1496. reckonadjustamount:
  1497. description: 调整金额
  1498. type: number
  1499. reckonedamount:
  1500. description: 已收付额(已确定额)
  1501. type: number
  1502. reckonotheramount:
  1503. description: 其它费用
  1504. type: number
  1505. reckonrealqty:
  1506. description: 已确定量
  1507. type: number
  1508. remark:
  1509. description: 备注
  1510. type: string
  1511. spotcontractid:
  1512. description: 合同ID
  1513. type: string
  1514. spotgoodsdesc:
  1515. description: 商品型号(商品规格)
  1516. type: string
  1517. startdate:
  1518. description: 点价开始日
  1519. type: string
  1520. totalamount:
  1521. description: 合计总额
  1522. type: number
  1523. unpayamount:
  1524. description: 待支收额(支付或收款)
  1525. type: number
  1526. unpricedqty:
  1527. description: 未定价量
  1528. type: number
  1529. unsureqty:
  1530. description: 未确定量
  1531. type: number
  1532. userid:
  1533. description: 用户ID
  1534. type: integer
  1535. type: object
  1536. ermcp.QryGGCovertCfgRsp:
  1537. properties:
  1538. convertratio:
  1539. description: 折算系数
  1540. type: number
  1541. destgoodsgroupid:
  1542. description: 目标品种ID
  1543. type: integer
  1544. dstcode:
  1545. description: 目录品种代码
  1546. type: string
  1547. dstname:
  1548. description: 目标品种名称
  1549. type: string
  1550. dstunitid:
  1551. description: 目标品种单位ID
  1552. type: integer
  1553. dstunitidname:
  1554. description: 目标品种单位名称
  1555. type: string
  1556. srccode:
  1557. description: 源品种代码
  1558. type: string
  1559. srcgoodsgroupid:
  1560. description: 源品种ID
  1561. type: integer
  1562. srcname:
  1563. description: 源品种名称
  1564. type: string
  1565. srcunitid:
  1566. description: 源品种单位ID
  1567. type: integer
  1568. srcunitidname:
  1569. description: 源品种单位名称
  1570. type: string
  1571. type: object
  1572. ermcp.QryHedgePlanRsp:
  1573. properties:
  1574. areauserid:
  1575. description: 用户ID
  1576. type: integer
  1577. contracttype:
  1578. description: 计划类型 - 1:采购 -1:销售
  1579. type: integer
  1580. convertfactor:
  1581. description: 标仓系数
  1582. type: number
  1583. deliverygoodsid:
  1584. description: 现货品种ID
  1585. type: integer
  1586. deliverygoodsname:
  1587. description: 现货品种名称
  1588. type: string
  1589. hedgeplanid:
  1590. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  1591. type: string
  1592. hedgeplanno:
  1593. description: 套保计划编号(名称)
  1594. type: string
  1595. hedgeplanstatus:
  1596. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1597. type: integer
  1598. planqty:
  1599. description: 计划数量
  1600. type: number
  1601. plantime:
  1602. description: 计划时间
  1603. type: string
  1604. producttype:
  1605. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1606. type: integer
  1607. remark:
  1608. description: 备注
  1609. type: string
  1610. spotgoodsdesc:
  1611. description: 商品型号
  1612. type: string
  1613. wrstandardid:
  1614. description: 现货商品ID
  1615. type: integer
  1616. wrstandardname:
  1617. description: 现货商品名称
  1618. type: string
  1619. type: object
  1620. ermcp.QryMGChangeLogRsp:
  1621. properties:
  1622. aftervalue:
  1623. description: 变更后
  1624. type: number
  1625. applyid:
  1626. description: 操作人
  1627. type: integer
  1628. applyname:
  1629. description: 操作人名称
  1630. type: string
  1631. applysrc:
  1632. description: 操作来源 - 1:管理端 2:终端
  1633. type: integer
  1634. beforevalue:
  1635. description: 变更前
  1636. type: number
  1637. changelogtype:
  1638. description: 变更流水类型 - 1:套保比率变更
  1639. type: integer
  1640. handlestatus:
  1641. description: 处理状态
  1642. type: integer
  1643. logdatetime:
  1644. description: 流水日期
  1645. type: string
  1646. logid:
  1647. description: 流水ID
  1648. type: integer
  1649. logremark:
  1650. description: 流水备注
  1651. type: string
  1652. middlegoodsid:
  1653. description: 套保品种ID
  1654. type: integer
  1655. tradedate:
  1656. description: 交易日(yyyyMMdd)
  1657. type: string
  1658. updatetime:
  1659. description: 更新时间
  1660. type: string
  1661. type: object
  1662. ermcp.QryMiddleGoodsDetailRsp:
  1663. properties:
  1664. cvList:
  1665. description: 期货品种折算列表
  1666. items:
  1667. $ref: '#/definitions/models.GoodsGroupConvert'
  1668. type: array
  1669. mg:
  1670. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1671. description: 套保品种基本信息
  1672. type: object
  1673. ermcp.QryMiddleGoodsRsp:
  1674. properties:
  1675. areauserid:
  1676. description: 机构用户ID
  1677. type: integer
  1678. enumdicname:
  1679. description: 单位名称
  1680. type: string
  1681. evaluateratio:
  1682. description: 估价系数
  1683. type: number
  1684. goodsgroupid:
  1685. description: 关联期货品种ID
  1686. type: integer
  1687. isvalid:
  1688. description: 状态 0-无效(停用) 1-有效(正常)
  1689. type: integer
  1690. middlegoodscode:
  1691. description: 套保品种代码
  1692. type: string
  1693. middlegoodsid:
  1694. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1695. type: integer
  1696. middlegoodsname:
  1697. description: 套保品种名称
  1698. type: string
  1699. modifytime:
  1700. description: 修改时间
  1701. type: string
  1702. needhedgeratio:
  1703. description: 套保比率
  1704. type: number
  1705. qtydecimalplace:
  1706. description: 数量小数位
  1707. type: integer
  1708. relatedgoodsid:
  1709. description: 关联交易商品ID
  1710. type: integer
  1711. relatedgoodstype:
  1712. description: 关联商品类型 - 1:期货合约 2:现货品种
  1713. type: integer
  1714. type: object
  1715. ermcp.QryOPLogRsp:
  1716. properties:
  1717. aftervalue:
  1718. description: 变更后
  1719. type: number
  1720. applyid:
  1721. description: 操作人ID
  1722. type: string
  1723. applyname:
  1724. description: 操作人名称
  1725. type: string
  1726. beforevalue:
  1727. description: 变更前
  1728. type: number
  1729. biztype:
  1730. description: 业务类型 - 1:套保计划 2:现货合同
  1731. type: integer
  1732. contracttype:
  1733. description: 现货合同类型 - 1:采购 -1:销售
  1734. type: integer
  1735. logvalue:
  1736. description: 数值
  1737. type: number
  1738. operatelogtype:
  1739. description: 操作流水类型
  1740. type: integer
  1741. operatelogtypedesc:
  1742. description: 操作流水类型名称
  1743. type: string
  1744. relatedid:
  1745. description: 现货合同ID\套保计划
  1746. type: string
  1747. updatetime:
  1748. description: 更新时间
  1749. type: string
  1750. type: object
  1751. ermcp.QrySpotContractRsp:
  1752. properties:
  1753. amount:
  1754. description: 金额 [1:一口价、3:暂定价]
  1755. type: number
  1756. auditremark:
  1757. description: 审核意见
  1758. type: string
  1759. audittime:
  1760. description: 审核时间
  1761. type: string
  1762. brandname:
  1763. description: 品牌名称
  1764. type: string
  1765. buyuserid:
  1766. description: 采购方ID
  1767. type: integer
  1768. buyusername:
  1769. description: 采购方名称
  1770. type: string
  1771. contracctstatus:
  1772. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1773. type: integer
  1774. contractmargin:
  1775. description: 合同保证金
  1776. type: number
  1777. contractno:
  1778. description: 现货合同编号
  1779. type: string
  1780. contracttype:
  1781. description: 现货合同类型 - 1:采购 -1:销售
  1782. type: integer
  1783. convertfactor:
  1784. description: 标仓系数
  1785. type: number
  1786. createtime:
  1787. description: 创建时间
  1788. type: string
  1789. deliveryenddate:
  1790. description: 交收期(结束)
  1791. type: string
  1792. deliverygoodscode:
  1793. description: 现货品种代码
  1794. type: string
  1795. deliverygoodsid:
  1796. description: 现货品种ID
  1797. type: integer
  1798. deliverygoodsname:
  1799. description: 现货品种名称
  1800. type: string
  1801. deliverystartdate:
  1802. description: 交收期(开始)
  1803. type: string
  1804. enddate:
  1805. description: 点价结束日期 [2:点价 3:暂定价]
  1806. type: string
  1807. enumdicname:
  1808. description: 单位名称
  1809. type: string
  1810. goodscode:
  1811. description: 点价合约代码
  1812. type: string
  1813. goodsid:
  1814. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  1815. type: integer
  1816. margin:
  1817. description: 当前保证金
  1818. type: number
  1819. modelname:
  1820. description: 型号名称
  1821. type: string
  1822. price:
  1823. description: 价格\暂定价 [1:一口价、3:暂定价]
  1824. type: number
  1825. pricemove:
  1826. description: 升贴水 [2:点价 3:暂定价]
  1827. type: number
  1828. pricetype:
  1829. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1830. type: integer
  1831. producttype:
  1832. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1833. type: integer
  1834. qty:
  1835. description: 数量
  1836. type: number
  1837. remark:
  1838. description: 备注
  1839. type: string
  1840. selluserid:
  1841. description: 销售方ID
  1842. type: integer
  1843. sellusername:
  1844. description: 销售方名称
  1845. type: string
  1846. spotcontractid:
  1847. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  1848. type: string
  1849. spotgoodsbrandid:
  1850. description: 现货品牌ID
  1851. type: integer
  1852. spotgoodsdesc:
  1853. description: 商品型号
  1854. type: string
  1855. spotgoodsmodelid:
  1856. description: 现货型号ID
  1857. type: integer
  1858. startdate:
  1859. description: 点价开始日期 [2:点价 3:暂定价]
  1860. type: string
  1861. userid:
  1862. description: 机构ID
  1863. type: integer
  1864. wrstandardid:
  1865. description: 现货商品ID
  1866. type: integer
  1867. type: object
  1868. ermcp.QryUserInfoRsp:
  1869. properties:
  1870. address:
  1871. description: 通讯地址
  1872. type: string
  1873. attachment1:
  1874. description: 附件1
  1875. type: string
  1876. cardfrontphotourl:
  1877. description: 证件正面图片地址
  1878. type: string
  1879. cardnum:
  1880. description: 证件号码
  1881. type: string
  1882. cardtype:
  1883. description: 证件类型
  1884. type: integer
  1885. cardtypename:
  1886. description: 证件类型名称
  1887. type: string
  1888. cityid:
  1889. description: 市
  1890. type: integer
  1891. countryid:
  1892. description: 国家
  1893. type: integer
  1894. customername:
  1895. description: 企业名称
  1896. type: string
  1897. memberuserid:
  1898. description: 所属机构ID
  1899. type: integer
  1900. mobile:
  1901. description: 手机号码
  1902. type: string
  1903. provinceid:
  1904. description: 省
  1905. type: integer
  1906. remark:
  1907. description: 备注
  1908. type: string
  1909. status:
  1910. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  1911. type: integer
  1912. statusdesc:
  1913. description: 账户状态中文描述
  1914. type: string
  1915. telphone:
  1916. description: 联系电话
  1917. type: string
  1918. userid:
  1919. description: 用户ID
  1920. type: integer
  1921. userinfotype:
  1922. description: 客户类型
  1923. type: string
  1924. type: object
  1925. ermcp.QryWrStandardDetailRsp:
  1926. properties:
  1927. gbList:
  1928. description: 品牌列表
  1929. items:
  1930. $ref: '#/definitions/models.GoodsBrand'
  1931. type: array
  1932. gtList:
  1933. description: 型号列表
  1934. items:
  1935. $ref: '#/definitions/models.GoodsTypeModel'
  1936. type: array
  1937. wrd:
  1938. $ref: '#/definitions/models.ErmcpWrstandard'
  1939. description: 基本信息
  1940. wrsList:
  1941. description: 套保信息列表
  1942. items:
  1943. $ref: '#/definitions/models.WRSConverTDetail'
  1944. type: array
  1945. type: object
  1946. ermcp.QryWrStandardRsp:
  1947. properties:
  1948. areauserid:
  1949. description: 所属机构
  1950. type: integer
  1951. createtime:
  1952. description: 创建时间
  1953. type: string
  1954. creatorid:
  1955. description: 创建人
  1956. type: integer
  1957. deliverygoodsid:
  1958. description: 品种ID
  1959. type: integer
  1960. enumdicname:
  1961. description: 单位名称
  1962. type: string
  1963. isvalid:
  1964. description: 是否有效 0-无效(停用) 1-有效(正常)
  1965. type: integer
  1966. minivalue:
  1967. description: 最小变动值
  1968. type: integer
  1969. minivaluedp:
  1970. description: 最小变动值小数位
  1971. type: integer
  1972. realminivalue:
  1973. description: 实际最小变动值
  1974. type: integer
  1975. realminivaluedp:
  1976. description: 实际最小变动值小数位
  1977. type: integer
  1978. remark:
  1979. description: 备注
  1980. type: string
  1981. unitid:
  1982. description: 单位ID
  1983. type: integer
  1984. updatetime:
  1985. description: 更新时间
  1986. type: string
  1987. wrstandardcode:
  1988. description: 现货商品代码
  1989. type: string
  1990. wrstandardid:
  1991. description: 现货商品ID(SEQ_WRSTANDARD)
  1992. type: integer
  1993. wrstandardname:
  1994. description: 现货商品名称
  1995. type: string
  1996. type: object
  1997. ermcp.RealtimeExposurePositionRsp:
  1998. properties:
  1999. areauserid:
  2000. description: 所属机构id
  2001. type: integer
  2002. curqty:
  2003. description: 当前持仓
  2004. type: integer
  2005. diffhedgeqty:
  2006. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2007. type: number
  2008. diffqty:
  2009. description: 持仓变动量=当前持仓-昨日持仓
  2010. type: integer
  2011. goodscode:
  2012. description: 商品代码
  2013. type: string
  2014. goodsid:
  2015. description: 商品id
  2016. type: integer
  2017. goodsname:
  2018. description: 商品名称
  2019. type: string
  2020. middlegoodsid:
  2021. description: 套保商品id
  2022. type: integer
  2023. ydqty:
  2024. description: 昨日持仓
  2025. type: integer
  2026. type: object
  2027. ermcp.RealtimeExposureRsp:
  2028. properties:
  2029. areaUserID:
  2030. description: 所属机构
  2031. type: integer
  2032. buyFutureQty:
  2033. description: 买入期货数量
  2034. type: number
  2035. buyPlanQty:
  2036. description: 采购计划数量
  2037. type: number
  2038. buyPricedQty:
  2039. description: 采购合同已定价数量
  2040. type: number
  2041. diffFutuQty:
  2042. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  2043. type: number
  2044. diffSpotQty:
  2045. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  2046. type: number
  2047. middleGoodsCode:
  2048. description: 套保品种代码
  2049. type: string
  2050. middleGoodsHedgeRatio:
  2051. description: 应套保比例
  2052. type: number
  2053. middleGoodsID:
  2054. description: 套保品种
  2055. type: integer
  2056. middleGoodsName:
  2057. description: 套保品种名称
  2058. type: string
  2059. needHedgeExposoure:
  2060. description: 应套保敞口
  2061. type: number
  2062. needHedgeRatio:
  2063. description: 应套保敞口比例
  2064. type: number
  2065. oriBuyFutureQty:
  2066. description: 期初买入期货数量
  2067. type: number
  2068. oriBuyPlanQty:
  2069. description: 期初采购计划数量
  2070. type: number
  2071. oriBuyPricedQty:
  2072. description: 期初采购合同已定价数量
  2073. type: number
  2074. oriSellFutureQty:
  2075. description: 期初卖出期货数量
  2076. type: number
  2077. oriSellPlanQty:
  2078. description: 期初销售计划数量
  2079. type: number
  2080. oriSellPricedQty:
  2081. description: 期初销售合同已定价数量
  2082. type: number
  2083. oriTotalFutuQty:
  2084. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2085. type: number
  2086. oriTotalSpotQty:
  2087. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2088. type: number
  2089. sellFutureQty:
  2090. description: 卖出期货数量
  2091. type: number
  2092. sellPlanQty:
  2093. description: 销售计划数量
  2094. type: number
  2095. sellPricedQty:
  2096. description: 销售合同已定价数量
  2097. type: number
  2098. totalExposure:
  2099. description: 总敞口
  2100. type: number
  2101. totalFutureQty:
  2102. description: 期货数量
  2103. type: number
  2104. totalHedgeRatio:
  2105. description: 敞口比例
  2106. type: number
  2107. totalNeedHedgeQty:
  2108. description: 期货应套保量
  2109. type: number
  2110. totalSpotQty:
  2111. description: 现货数量
  2112. type: number
  2113. type: object
  2114. erms2.QueryArbitrageStrategyRsp:
  2115. properties:
  2116. applybasis:
  2117. description: 申请基差
  2118. type: number
  2119. asapplyid:
  2120. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2121. type: string
  2122. asname:
  2123. description: 策略名称
  2124. type: string
  2125. asno:
  2126. description: 策略编号
  2127. type: string
  2128. basischangepl:
  2129. description: 基差变动损益[结算更新]
  2130. type: number
  2131. biztype:
  2132. description: 业务类型 - 1:正向套利 -1:反向套利
  2133. type: integer
  2134. closetradedate:
  2135. description: 完结交易日(yyyyMMdd)
  2136. type: string
  2137. curbasis:
  2138. description: 当前基差[结算更新]
  2139. type: number
  2140. deliverygoodsid:
  2141. description: 现货品种ID
  2142. type: integer
  2143. futureavgprice:
  2144. description: 期货建仓均价
  2145. type: number
  2146. futurecloseamount:
  2147. description: 期货平仓金额
  2148. type: number
  2149. futurecloseqty:
  2150. description: 期货平仓数量
  2151. type: number
  2152. futureopenamount:
  2153. description: 期货开仓金额
  2154. type: number
  2155. futureopenqty:
  2156. description: 期货开仓数量
  2157. type: number
  2158. futurepl:
  2159. description: 期货总盈亏[结算更新]
  2160. type: number
  2161. futureqty:
  2162. description: 期货持仓数量
  2163. type: number
  2164. futurequote:
  2165. description: 期货额度
  2166. type: number
  2167. goodsgroupid:
  2168. description: 期货品种ID
  2169. type: integer
  2170. marketid:
  2171. description: 市场ID
  2172. type: integer
  2173. netexposure:
  2174. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2175. type: number
  2176. netexposurepl:
  2177. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2178. type: number
  2179. netexposurerate:
  2180. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2181. type: number
  2182. openbasis:
  2183. description: 建仓基差
  2184. type: number
  2185. pricedspotqty:
  2186. description: 已定价现货数量
  2187. type: number
  2188. pricedspotqtynotax:
  2189. description: 已定价现货不含税数量
  2190. type: number
  2191. remark:
  2192. description: 备注
  2193. type: string
  2194. spotavgprice:
  2195. description: 现货均价
  2196. type: number
  2197. spotbuyamount:
  2198. description: 现货采购金额
  2199. type: number
  2200. spotbuyqty:
  2201. description: 现货采购数量
  2202. type: number
  2203. spotpl:
  2204. description: 现货总盈亏[结算更新]
  2205. type: number
  2206. spotquota:
  2207. description: 现货额度
  2208. type: number
  2209. spotsellamount:
  2210. description: 现货销售金额
  2211. type: number
  2212. spotsellqty:
  2213. description: 现货销售数量
  2214. type: number
  2215. spotusedquota:
  2216. description: 现货占用资金
  2217. type: number
  2218. strategystatus:
  2219. description: 策略状态 - 0:未结束 1:已结束
  2220. type: integer
  2221. totalpl:
  2222. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2223. type: number
  2224. tradedate:
  2225. description: 交易日(yyyyMMdd)
  2226. type: string
  2227. updatetime:
  2228. description: 更新时间
  2229. type: string
  2230. usedquota:
  2231. description: 已占用资金
  2232. type: number
  2233. userid:
  2234. description: 所属机构
  2235. type: integer
  2236. required:
  2237. - asapplyid
  2238. type: object
  2239. erms2.QueryInnerTradeDetailRsp:
  2240. properties:
  2241. accountid:
  2242. description: 账号ID
  2243. type: integer
  2244. agreeunit:
  2245. description: 合约单位
  2246. type: number
  2247. asapplyid:
  2248. description: 策略申请ID
  2249. type: integer
  2250. asname:
  2251. description: 策略名称
  2252. type: string
  2253. asno:
  2254. description: 策略编号
  2255. type: string
  2256. buyorsell:
  2257. description: 方向 - 0:买 1:卖
  2258. type: integer
  2259. channelbuildtype:
  2260. description: 委托单据类型 0:无 1:建仓 2:平仓
  2261. type: integer
  2262. closetype:
  2263. description: 平仓方式 - 0:无 1:平今 2:平昨
  2264. type: integer
  2265. decimalplace:
  2266. description: 报价小数位
  2267. type: integer
  2268. detailtype:
  2269. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2270. type: integer
  2271. exexchangecode:
  2272. description: 外部交易所代码
  2273. type: string
  2274. exexchangename:
  2275. description: 外部交易所名称
  2276. type: string
  2277. goodscode:
  2278. description: 商品代码(合约)
  2279. type: string
  2280. goodsgroupid:
  2281. description: 商品组ID(品种ID)
  2282. type: integer
  2283. goodsgroupname:
  2284. description: 商品组名称(品种)
  2285. type: string
  2286. goodsid:
  2287. description: 商品ID
  2288. type: integer
  2289. goodsname:
  2290. description: 商品名称(合约)
  2291. type: string
  2292. goodunit:
  2293. description: 报价单位
  2294. type: string
  2295. marketid:
  2296. description: 市场ID
  2297. type: integer
  2298. orderid:
  2299. description: 委托单号
  2300. type: string
  2301. outgoodscode:
  2302. description: 商品代码(外部)
  2303. type: string
  2304. relatedouttradeid:
  2305. description: 关联外部成交单ID
  2306. type: string
  2307. remark:
  2308. description: 备注
  2309. type: string
  2310. spotcontractid:
  2311. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2312. type: integer
  2313. spotcontractno:
  2314. description: 现货合同编号
  2315. type: string
  2316. tradeid:
  2317. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2318. type: string
  2319. tradeprice:
  2320. description: 成交价格
  2321. type: number
  2322. tradeqty:
  2323. description: 成交数量
  2324. type: integer
  2325. tradetime:
  2326. description: 成交时间
  2327. type: string
  2328. updatetime:
  2329. description: 更新时间
  2330. type: string
  2331. required:
  2332. - asapplyid
  2333. - buyorsell
  2334. - goodscode
  2335. - goodsgroupid
  2336. - goodsgroupname
  2337. - goodsname
  2338. - tradeid
  2339. type: object
  2340. erms2.QuerySpotContractRsp:
  2341. properties:
  2342. accountid:
  2343. description: 资金账户ID
  2344. type: integer
  2345. areauserid:
  2346. description: 所属机构
  2347. type: integer
  2348. closedate:
  2349. description: 终止日期
  2350. type: string
  2351. closeremark:
  2352. description: 结束备注
  2353. type: string
  2354. closetradedate:
  2355. description: 完结交易日(yyyyMMdd)
  2356. type: string
  2357. closetype:
  2358. description: 终止类型 - 1:违约 2:提前终止
  2359. type: integer
  2360. contractamount:
  2361. description: 合同金额
  2362. type: number
  2363. contractattachment:
  2364. description: 合同附件
  2365. type: string
  2366. contractno:
  2367. description: 现货合同编号
  2368. type: string
  2369. contractqty:
  2370. description: 合同数量(数值) (用于计算)
  2371. type: number
  2372. contractqtychar:
  2373. description: 合同数量\已订价数量 (用于显示)
  2374. type: string
  2375. contractstatus:
  2376. description: 合同状态 - 0:未结束 1:已结束
  2377. type: integer
  2378. contracttype:
  2379. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2380. type: integer
  2381. customeraccountid:
  2382. description: 客户资金账户ID
  2383. type: integer
  2384. customeruserid:
  2385. description: 客户ID
  2386. type: integer
  2387. deliverygoodsdesc:
  2388. description: 品种说明
  2389. type: string
  2390. deliverygoodsid:
  2391. description: 现货品种ID
  2392. type: integer
  2393. handlestatus:
  2394. description: 处理状态
  2395. type: integer
  2396. invoiceatt:
  2397. description: 发票附件
  2398. type: string
  2399. invoicedatetime:
  2400. description: 开收票更新时间
  2401. type: string
  2402. invoiceopentime:
  2403. description: 开票时间
  2404. type: string
  2405. invoiceremark:
  2406. description: 发票备注
  2407. type: string
  2408. invoicestatus:
  2409. description: 开收票状态 - 0:未开票 1:已开票
  2410. type: integer
  2411. lastdate:
  2412. description: 交货时间
  2413. type: string
  2414. marketid:
  2415. description: 市场ID
  2416. type: integer
  2417. paydatetime:
  2418. description: 收付款更新时间
  2419. type: string
  2420. payremark:
  2421. description: 收付款备注
  2422. type: string
  2423. paystatus:
  2424. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2425. type: integer
  2426. positionqty:
  2427. description: 头寸数量 - 合同数量去小数部分
  2428. type: integer
  2429. producttype:
  2430. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2431. type: integer
  2432. relatedqty:
  2433. description: 已关联数量
  2434. type: number
  2435. relatedstatus:
  2436. description: 关联完结状态 - 0:未结束 1:已结束
  2437. type: integer
  2438. remark:
  2439. description: 备注
  2440. type: string
  2441. signdate:
  2442. description: 签订日期
  2443. type: string
  2444. spotcontractid:
  2445. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2446. type: string
  2447. spotdatetime:
  2448. description: 收发货更新时间
  2449. type: string
  2450. spotprice:
  2451. description: 价格
  2452. type: number
  2453. spotremark:
  2454. description: 收发货备注
  2455. type: string
  2456. spotstatus:
  2457. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2458. type: integer
  2459. tradedate:
  2460. description: 交易日(yyyyMMdd)
  2461. type: string
  2462. userid:
  2463. description: 业务员用户ID
  2464. type: integer
  2465. warehouseid:
  2466. description: 仓库ID
  2467. type: integer
  2468. wrfactortypeid:
  2469. description: 仓单要素类型ID
  2470. type: integer
  2471. wrstandardid:
  2472. description: 仓单标准ID(SEQ_WRSTANDARD)
  2473. type: integer
  2474. required:
  2475. - spotcontractid
  2476. type: object
  2477. erms3.AddErms2ASApplyReq:
  2478. properties:
  2479. applybasis:
  2480. description: 申请基差
  2481. type: number
  2482. applystatus:
  2483. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2484. type: integer
  2485. asapplyid:
  2486. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2487. type: integer
  2488. asname:
  2489. description: 策略名称
  2490. type: string
  2491. asno:
  2492. description: 策略编号
  2493. type: string
  2494. auditid:
  2495. description: 审核人
  2496. type: integer
  2497. auditremark:
  2498. description: 审核备注
  2499. type: string
  2500. audittime:
  2501. description: 审核时间
  2502. type: string
  2503. biztype:
  2504. description: 业务类型 - 1:正向套利 2:反向套利
  2505. type: integer
  2506. createtime:
  2507. description: 创建时间
  2508. type: string
  2509. creatorid:
  2510. description: 创建人
  2511. type: integer
  2512. deliverygoodsid:
  2513. description: 现货品种ID
  2514. type: integer
  2515. futurequote:
  2516. description: 期货额度
  2517. type: number
  2518. goodsgroupid:
  2519. description: 期货品种ID
  2520. type: integer
  2521. marketid:
  2522. description: 市场ID
  2523. type: integer
  2524. remark:
  2525. description: 备注
  2526. type: string
  2527. spotquota:
  2528. description: 现货额度
  2529. type: number
  2530. tradedate:
  2531. description: 交易日(yyyyMMdd)
  2532. type: string
  2533. userid:
  2534. description: 所属机构
  2535. type: integer
  2536. required:
  2537. - asapplyid
  2538. type: object
  2539. erms3.AddErms2SpotTradeApplyReq:
  2540. properties:
  2541. applyjsondetail:
  2542. description: 申请明细(JSON)
  2543. type: string
  2544. applystatus:
  2545. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2546. type: integer
  2547. areauserid:
  2548. description: 所属机构
  2549. type: integer
  2550. auditid:
  2551. description: 审核人
  2552. type: integer
  2553. auditremark:
  2554. description: 审核备注
  2555. type: string
  2556. audittime:
  2557. description: 审核时间
  2558. type: string
  2559. createtime:
  2560. description: 创建时间
  2561. type: string
  2562. creatorid:
  2563. description: 创建人
  2564. type: integer
  2565. deliverygoodsid:
  2566. description: 现货品种ID
  2567. type: integer
  2568. futureaccountid:
  2569. description: 期货资金账户
  2570. type: integer
  2571. goodsgroupid:
  2572. description: 期货品种
  2573. type: integer
  2574. marketid:
  2575. description: 市场ID
  2576. type: integer
  2577. remark:
  2578. description: 备注
  2579. type: string
  2580. spotaccountid:
  2581. description: 现货资金账户
  2582. type: integer
  2583. spottradeid:
  2584. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2585. type: integer
  2586. spottradename:
  2587. description: 业务名称
  2588. type: string
  2589. spottradeno:
  2590. description: 业务编号
  2591. type: string
  2592. tradedate:
  2593. description: 交易日(yyyyMMdd)
  2594. type: string
  2595. wrstandardid:
  2596. description: 仓单标准ID
  2597. type: integer
  2598. required:
  2599. - spottradeid
  2600. type: object
  2601. erms3.AddSpotContractApplyReq:
  2602. properties:
  2603. accountid:
  2604. description: 资金账户ID
  2605. type: integer
  2606. areauserid:
  2607. description: 所属机构
  2608. type: integer
  2609. contractattachment:
  2610. description: 合同附件
  2611. type: string
  2612. contractno:
  2613. description: 现货合同编号
  2614. type: string
  2615. contracttype:
  2616. description: 现货合同类型 - 1:采购 -1:销售
  2617. type: integer
  2618. creatorid:
  2619. description: 申请人
  2620. type: integer
  2621. customeraccountid:
  2622. description: 客户资金账户ID
  2623. type: integer
  2624. customeruserid:
  2625. description: 客户ID
  2626. type: integer
  2627. details:
  2628. description: 明细
  2629. items:
  2630. $ref: '#/definitions/erms3.SoptContractDetail'
  2631. type: array
  2632. orimargin:
  2633. description: 初始保证金
  2634. type: number
  2635. remark:
  2636. description: 备注
  2637. type: string
  2638. signdate:
  2639. description: 签订日期
  2640. type: string
  2641. required:
  2642. - accountid
  2643. - areauserid
  2644. - contractno
  2645. - contracttype
  2646. - customeraccountid
  2647. - customeruserid
  2648. - details
  2649. - orimargin
  2650. - signdate
  2651. type: object
  2652. erms3.AddSpotContractApplyRsp:
  2653. properties:
  2654. contractno:
  2655. description: 现货合同编号
  2656. type: string
  2657. spotcontractid:
  2658. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2659. type: integer
  2660. required:
  2661. - contractno
  2662. type: object
  2663. erms3.AddUserInfoApplyReq:
  2664. properties:
  2665. accountid:
  2666. description: 交易系统帐号Id (加密存储)
  2667. type: integer
  2668. areacode:
  2669. description: 机构代码
  2670. type: string
  2671. areaid:
  2672. description: 机构Id
  2673. type: integer
  2674. attachment1:
  2675. description: 附件1
  2676. type: string
  2677. attachment2:
  2678. description: 附件2
  2679. type: string
  2680. attachment3:
  2681. description: 附件3
  2682. type: string
  2683. attachment4:
  2684. description: 附件4
  2685. type: string
  2686. attachment5:
  2687. description: 附件5
  2688. type: string
  2689. auditedby:
  2690. description: 审核人
  2691. type: string
  2692. auditime:
  2693. description: 审核时间
  2694. type: string
  2695. bankaccount:
  2696. description: 银行帐号 (加密存储)
  2697. type: string
  2698. bankaccountname:
  2699. description: 收款人名称
  2700. type: string
  2701. bankcardbackphotourl:
  2702. description: 银行卡背面照地址
  2703. type: string
  2704. bankcardfrontphotourl:
  2705. description: 银行卡正面照地址
  2706. type: string
  2707. bankid:
  2708. description: 银行编码
  2709. type: string
  2710. bankname:
  2711. description: 银行名称
  2712. type: string
  2713. bankpictureurl:
  2714. description: 银行卡正面地址
  2715. type: string
  2716. biznature:
  2717. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2718. type: integer
  2719. bizscope:
  2720. description: 企业经营范围(企业)
  2721. type: string
  2722. biztype:
  2723. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2724. type: integer
  2725. brokerid:
  2726. description: 经纪人ID(加密存储)
  2727. type: string
  2728. cardaddress:
  2729. description: 证件地址 (加密存储)
  2730. type: string
  2731. cardbackphotourl:
  2732. description: 背面证件照地址
  2733. type: string
  2734. cardfrontphotourl:
  2735. description: 正面证件照地址
  2736. type: string
  2737. cardnum:
  2738. description: 证件号码 (加密存储)
  2739. type: string
  2740. cardtype:
  2741. description: 证件类型
  2742. type: integer
  2743. cityid:
  2744. description: 市
  2745. type: integer
  2746. company:
  2747. description: 公司(个人)
  2748. type: string
  2749. contactcardbackphotourl:
  2750. description: 联系人证件背面图片地址
  2751. type: string
  2752. contactcardfrontphotourl:
  2753. description: 联系人证件正面图片地址
  2754. type: string
  2755. contactname:
  2756. description: 联系人
  2757. type: string
  2758. countryid:
  2759. description: 国家
  2760. type: integer
  2761. createtime:
  2762. description: 开户申请时间
  2763. type: string
  2764. cusbankid:
  2765. description: 签约类型
  2766. type: string
  2767. cusbankname:
  2768. description: 签约类型名称
  2769. type: string
  2770. customername:
  2771. description: 客户名称(企业名称)
  2772. type: string
  2773. districtid:
  2774. description: 地区
  2775. type: integer
  2776. email:
  2777. description: Email地址(加密存储)
  2778. type: string
  2779. halfbodyphotourl:
  2780. description: 半身照地址
  2781. type: string
  2782. headurl:
  2783. description: 头像地址
  2784. type: string
  2785. ipaddress:
  2786. description: IP地址
  2787. type: string
  2788. isvalidate:
  2789. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2790. type: string
  2791. legalcardbackphotourl:
  2792. description: 法人身份证背面照地址
  2793. type: string
  2794. legalcardfrontphotourl:
  2795. description: 法人身份证正面照地址
  2796. type: string
  2797. legalpersonname:
  2798. description: 法人姓名(企业)
  2799. type: string
  2800. logincode:
  2801. description: 登录帐号 (加密存储)
  2802. type: string
  2803. memberareaid:
  2804. description: 所属会员ID
  2805. type: integer
  2806. mobile2:
  2807. description: 手机号码[明文-尚志]
  2808. type: string
  2809. mobilephone:
  2810. description: 手机号码 (加密存储)
  2811. type: string
  2812. modifiedby:
  2813. description: 修改人帐号
  2814. type: integer
  2815. modifiedtime:
  2816. description: 修改时间
  2817. type: string
  2818. nickname:
  2819. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2820. type: string
  2821. openmode:
  2822. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2823. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2824. type: integer
  2825. otherurl:
  2826. description: 其它图片地址[使用分号分隔]
  2827. type: string
  2828. postalcode:
  2829. description: 邮政编码
  2830. type: string
  2831. provinceid:
  2832. description: 省
  2833. type: integer
  2834. proxystatementurl:
  2835. description: 授权委托书
  2836. type: string
  2837. qq:
  2838. description: QQ(加密存储
  2839. type: string
  2840. referral:
  2841. description: 推荐人编码
  2842. type: string
  2843. remark:
  2844. description: 备注
  2845. type: string
  2846. removebeforestatus:
  2847. description: REMOVEBEFORESTATUS
  2848. type: integer
  2849. sex:
  2850. description: 性别 - 0:女 1:男
  2851. type: integer
  2852. signedstatus:
  2853. description: 账户一号签签约状态
  2854. type: integer
  2855. signpdfurl:
  2856. description: 签约pdf文件
  2857. type: string
  2858. subbranch:
  2859. description: 开户支行
  2860. type: string
  2861. telphone:
  2862. description: 联系电话(加密存储)
  2863. type: string
  2864. userid:
  2865. description: 用户ID(自增ID)
  2866. type: integer
  2867. userinfotype:
  2868. description: 用户信息类型 - 1:个人 2:企业
  2869. type: integer
  2870. username:
  2871. description: 用户姓名
  2872. type: string
  2873. userstate:
  2874. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2875. type: integer
  2876. usertype:
  2877. description: 用户类型 - 1:投资者 2:机构
  2878. type: integer
  2879. videourl:
  2880. description: 视频地址
  2881. type: string
  2882. wechat:
  2883. description: 微信号 (加密存储)
  2884. type: string
  2885. required:
  2886. - userid
  2887. type: object
  2888. erms3.CustomerInfo:
  2889. properties:
  2890. accountids:
  2891. description: 资金账户ID列表
  2892. items:
  2893. type: integer
  2894. type: array
  2895. customername:
  2896. description: 名称(企业名称)
  2897. type: string
  2898. mobile:
  2899. description: 手机号码
  2900. type: string
  2901. userid:
  2902. description: 用户ID
  2903. type: integer
  2904. required:
  2905. - userid
  2906. type: object
  2907. erms3.ModifyUserInfoApplyReq:
  2908. properties:
  2909. accountid:
  2910. description: 交易系统帐号Id (加密存储)
  2911. type: integer
  2912. areacode:
  2913. description: 机构代码
  2914. type: string
  2915. areaid:
  2916. description: 机构Id
  2917. type: integer
  2918. attachment1:
  2919. description: 附件1
  2920. type: string
  2921. attachment2:
  2922. description: 附件2
  2923. type: string
  2924. attachment3:
  2925. description: 附件3
  2926. type: string
  2927. attachment4:
  2928. description: 附件4
  2929. type: string
  2930. attachment5:
  2931. description: 附件5
  2932. type: string
  2933. auditedby:
  2934. description: 审核人
  2935. type: string
  2936. auditime:
  2937. description: 审核时间
  2938. type: string
  2939. bankaccount:
  2940. description: 银行帐号 (加密存储)
  2941. type: string
  2942. bankaccountname:
  2943. description: 收款人名称
  2944. type: string
  2945. bankcardbackphotourl:
  2946. description: 银行卡背面照地址
  2947. type: string
  2948. bankcardfrontphotourl:
  2949. description: 银行卡正面照地址
  2950. type: string
  2951. bankid:
  2952. description: 银行编码
  2953. type: string
  2954. bankname:
  2955. description: 银行名称
  2956. type: string
  2957. bankpictureurl:
  2958. description: 银行卡正面地址
  2959. type: string
  2960. biznature:
  2961. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2962. type: integer
  2963. bizscope:
  2964. description: 企业经营范围(企业)
  2965. type: string
  2966. biztype:
  2967. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2968. type: integer
  2969. brokerid:
  2970. description: 经纪人ID(加密存储)
  2971. type: string
  2972. cardaddress:
  2973. description: 证件地址 (加密存储)
  2974. type: string
  2975. cardbackphotourl:
  2976. description: 背面证件照地址
  2977. type: string
  2978. cardfrontphotourl:
  2979. description: 正面证件照地址
  2980. type: string
  2981. cardnum:
  2982. description: 证件号码 (加密存储)
  2983. type: string
  2984. cardtype:
  2985. description: 证件类型
  2986. type: integer
  2987. cityid:
  2988. description: 市
  2989. type: integer
  2990. company:
  2991. description: 公司(个人)
  2992. type: string
  2993. contactcardbackphotourl:
  2994. description: 联系人证件背面图片地址
  2995. type: string
  2996. contactcardfrontphotourl:
  2997. description: 联系人证件正面图片地址
  2998. type: string
  2999. contactname:
  3000. description: 联系人
  3001. type: string
  3002. countryid:
  3003. description: 国家
  3004. type: integer
  3005. createtime:
  3006. description: 开户申请时间
  3007. type: string
  3008. cusbankid:
  3009. description: 签约类型
  3010. type: string
  3011. cusbankname:
  3012. description: 签约类型名称
  3013. type: string
  3014. customername:
  3015. description: 客户名称(企业名称)
  3016. type: string
  3017. districtid:
  3018. description: 地区
  3019. type: integer
  3020. email:
  3021. description: Email地址(加密存储)
  3022. type: string
  3023. halfbodyphotourl:
  3024. description: 半身照地址
  3025. type: string
  3026. headurl:
  3027. description: 头像地址
  3028. type: string
  3029. ipaddress:
  3030. description: IP地址
  3031. type: string
  3032. isvalidate:
  3033. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3034. type: string
  3035. legalcardbackphotourl:
  3036. description: 法人身份证背面照地址
  3037. type: string
  3038. legalcardfrontphotourl:
  3039. description: 法人身份证正面照地址
  3040. type: string
  3041. legalpersonname:
  3042. description: 法人姓名(企业)
  3043. type: string
  3044. logincode:
  3045. description: 登录帐号 (加密存储)
  3046. type: string
  3047. memberareaid:
  3048. description: 所属会员ID
  3049. type: integer
  3050. mobile2:
  3051. description: 手机号码[明文-尚志]
  3052. type: string
  3053. mobilephone:
  3054. description: 手机号码 (加密存储)
  3055. type: string
  3056. modifiedby:
  3057. description: 修改人帐号
  3058. type: integer
  3059. modifiedtime:
  3060. description: 修改时间
  3061. type: string
  3062. nickname:
  3063. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3064. type: string
  3065. openmode:
  3066. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3067. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3068. type: integer
  3069. otherurl:
  3070. description: 其它图片地址[使用分号分隔]
  3071. type: string
  3072. postalcode:
  3073. description: 邮政编码
  3074. type: string
  3075. provinceid:
  3076. description: 省
  3077. type: integer
  3078. proxystatementurl:
  3079. description: 授权委托书
  3080. type: string
  3081. qq:
  3082. description: QQ(加密存储
  3083. type: string
  3084. referral:
  3085. description: 推荐人编码
  3086. type: string
  3087. remark:
  3088. description: 备注
  3089. type: string
  3090. removebeforestatus:
  3091. description: REMOVEBEFORESTATUS
  3092. type: integer
  3093. sex:
  3094. description: 性别 - 0:女 1:男
  3095. type: integer
  3096. signedstatus:
  3097. description: 账户一号签签约状态
  3098. type: integer
  3099. signpdfurl:
  3100. description: 签约pdf文件
  3101. type: string
  3102. subbranch:
  3103. description: 开户支行
  3104. type: string
  3105. telphone:
  3106. description: 联系电话(加密存储)
  3107. type: string
  3108. userid:
  3109. description: 用户ID(自增ID)
  3110. type: integer
  3111. userinfotype:
  3112. description: 用户信息类型 - 1:个人 2:企业
  3113. type: integer
  3114. username:
  3115. description: 用户姓名
  3116. type: string
  3117. userstate:
  3118. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3119. type: integer
  3120. usertype:
  3121. description: 用户类型 - 1:投资者 2:机构
  3122. type: integer
  3123. videourl:
  3124. description: 视频地址
  3125. type: string
  3126. wechat:
  3127. description: 微信号 (加密存储)
  3128. type: string
  3129. required:
  3130. - userid
  3131. type: object
  3132. erms3.QryAuditContractRsp:
  3133. properties:
  3134. accountid:
  3135. description: 交易员ID
  3136. type: string
  3137. applystatus:
  3138. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3139. type: integer
  3140. curdeliveryqty:
  3141. description: 未交收量
  3142. type: integer
  3143. customername:
  3144. description: 采购方ID
  3145. type: string
  3146. deliverygoodsid:
  3147. description: 品种ID
  3148. type: string
  3149. deliveryqty:
  3150. description: 交收量
  3151. type: integer
  3152. enumdicname:
  3153. description: 单位名称
  3154. type: string
  3155. matchaccountid:
  3156. description: 业务员ID
  3157. type: string
  3158. matchcustomername:
  3159. description: 销售方ID
  3160. type: string
  3161. pricedqty:
  3162. description: 定价量
  3163. type: number
  3164. signdate:
  3165. description: 签订日期
  3166. type: string
  3167. spotcontractid:
  3168. description: 合同ID
  3169. type: string
  3170. totaldqty:
  3171. description: 合同量
  3172. type: number
  3173. unpricedqty:
  3174. description: 未定价量
  3175. type: number
  3176. wrstandardname:
  3177. description: 商品名称
  3178. type: string
  3179. required:
  3180. - matchcustomername
  3181. - spotcontractid
  3182. type: object
  3183. erms3.QryPendingBizRsp:
  3184. properties:
  3185. accountid:
  3186. description: 现货账户
  3187. type: string
  3188. areaname:
  3189. description: 所属部门
  3190. type: string
  3191. bizid:
  3192. description: 业务ID
  3193. type: string
  3194. bizname:
  3195. description: 业务名称
  3196. type: string
  3197. status:
  3198. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3199. type: integer
  3200. type:
  3201. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3202. type: integer
  3203. type: object
  3204. erms3.QueryBusinessInfoRsp:
  3205. properties:
  3206. businessid:
  3207. description: 业务ID.
  3208. type: integer
  3209. buyamount:
  3210. description: 采购额.
  3211. type: number
  3212. buyqty:
  3213. description: 采购量.
  3214. type: string
  3215. futurepl:
  3216. description: 期货盈亏.
  3217. type: number
  3218. futureqty:
  3219. description: 期货敞口.
  3220. type: string
  3221. goodsid:
  3222. description: 商品名称/商品代码.
  3223. type: string
  3224. hedgingqty:
  3225. description: 套保量.
  3226. type: string
  3227. sellamount:
  3228. description: 销售额.
  3229. type: number
  3230. sellqty:
  3231. description: 销售量.
  3232. type: string
  3233. spotmarketvalue:
  3234. description: 现货市值.
  3235. type: number
  3236. spotpl:
  3237. description: 浮动权益.
  3238. type: number
  3239. spotqty:
  3240. description: 现货量.
  3241. type: string
  3242. statu:
  3243. description: 状态,0-未结束 1-已结束.
  3244. type: integer
  3245. totalpl:
  3246. description: 总盈亏.
  3247. type: number
  3248. totalqty:
  3249. description: 总敞口.
  3250. type: string
  3251. type:
  3252. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3253. type: integer
  3254. type: object
  3255. erms3.QuerySpotContractAppleFormRsp:
  3256. properties:
  3257. goodses:
  3258. description: 合约列表
  3259. items:
  3260. $ref: '#/definitions/models.GoodsIDAndName'
  3261. type: array
  3262. oppositeusers:
  3263. description: 对方账号列表
  3264. items:
  3265. $ref: '#/definitions/erms3.CustomerInfo'
  3266. type: array
  3267. ouruser:
  3268. $ref: '#/definitions/erms3.CustomerInfo'
  3269. description: 我方账号
  3270. warehouseinfos:
  3271. description: 仓库信息列表
  3272. items:
  3273. $ref: '#/definitions/models.Warehouseinfo'
  3274. type: array
  3275. wrstandards:
  3276. description: 仓单标准列表
  3277. items:
  3278. $ref: '#/definitions/models.WRStandardInfo'
  3279. type: array
  3280. type: object
  3281. erms3.QuerySpotContractInfoRsp:
  3282. properties:
  3283. accountid:
  3284. description: 表示交易员ID.
  3285. type: integer
  3286. curdeliveryqty:
  3287. description: 表示未交收量.
  3288. type: number
  3289. customername:
  3290. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3291. type: string
  3292. deliverygoodsid:
  3293. description: 表示品种ID.
  3294. type: string
  3295. deliveryqty:
  3296. description: 表示交收量.
  3297. type: number
  3298. matchaccountid:
  3299. description: 表示业务员ID.
  3300. type: integer
  3301. matchcustomername:
  3302. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3303. type: string
  3304. priceqty:
  3305. description: 表示定价量.
  3306. type: number
  3307. relatedbizid:
  3308. description: 表示业务ID.
  3309. type: string
  3310. signdate:
  3311. description: 表示签订日期.
  3312. type: string
  3313. spotcontractid:
  3314. description: 合同ID
  3315. type: string
  3316. status:
  3317. description: 表示状态,0-履约中 1-已完成.
  3318. type: integer
  3319. totalqty:
  3320. description: 表示合同量.
  3321. type: number
  3322. unpricedqty:
  3323. description: 表示未定价量.
  3324. type: number
  3325. wrstandardname:
  3326. description: 表示商品ID.
  3327. type: string
  3328. type: object
  3329. erms3.QueryUserInfoAppliesRsp:
  3330. properties:
  3331. biznature:
  3332. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3333. type: integer
  3334. contactname:
  3335. description: 联系人
  3336. type: string
  3337. createtime:
  3338. description: 开户申请时间
  3339. type: string
  3340. userid:
  3341. description: 用户ID(自增ID)
  3342. type: integer
  3343. userinfotype:
  3344. description: 用户信息类型 - 1:个人 2:企业
  3345. type: integer
  3346. username:
  3347. description: 用户姓名
  3348. type: string
  3349. userstate:
  3350. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3351. type: integer
  3352. required:
  3353. - userid
  3354. type: object
  3355. erms3.QueryUserInfosRsp:
  3356. properties:
  3357. biznature:
  3358. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3359. type: integer
  3360. contactname:
  3361. description: 联系人
  3362. type: string
  3363. customername:
  3364. description: 客户名称(企业名称)
  3365. type: string
  3366. userid:
  3367. description: 用户ID
  3368. type: integer
  3369. userinfotype:
  3370. description: 用户信息类型 - 1:个人 2:企业
  3371. type: integer
  3372. userstatus:
  3373. description: 用户状态 - 1:正常 2:注销
  3374. type: integer
  3375. required:
  3376. - userid
  3377. type: object
  3378. erms3.SoptContractDetail:
  3379. properties:
  3380. deliverygoodsdesc:
  3381. description: 现货品种说明
  3382. type: string
  3383. deliverygoodsid:
  3384. description: 现货品种ID
  3385. type: integer
  3386. deliverygoodsname:
  3387. description: 现货品种名称
  3388. type: string
  3389. pointdesc:
  3390. description: 点价描述
  3391. type: string
  3392. producttype:
  3393. description: 产品类型 1:标准仓单 2:等标 3:非标
  3394. type: integer
  3395. producttypename:
  3396. description: 产品类型名称
  3397. type: string
  3398. spotPointOrderVoList:
  3399. description: 点价列表
  3400. items:
  3401. $ref: '#/definitions/erms3.SpotPointOrder'
  3402. type: array
  3403. spotPriceOrderList:
  3404. description: 定价列表
  3405. items:
  3406. $ref: '#/definitions/erms3.SpotPriceOrder'
  3407. type: array
  3408. unitname:
  3409. description: 单位名称
  3410. type: string
  3411. warehouseid:
  3412. description: 仓库ID
  3413. type: integer
  3414. warehousename:
  3415. description: 仓库名称
  3416. type: string
  3417. wrstandardid:
  3418. description: 交易标的ID
  3419. type: integer
  3420. wrstandardname:
  3421. description: 交易标的名称
  3422. type: string
  3423. required:
  3424. - deliverygoodsid
  3425. - producttype
  3426. - unitname
  3427. - warehouseid
  3428. - wrstandardid
  3429. - wrstandardname
  3430. type: object
  3431. erms3.SpotPointOrder:
  3432. properties:
  3433. basic:
  3434. description: 基差
  3435. type: number
  3436. deliveryenddate:
  3437. description: 交收结束日期
  3438. type: string
  3439. deliverystartdate:
  3440. description: 交收开始日期
  3441. type: string
  3442. enddate:
  3443. description: 点价结束日期
  3444. type: string
  3445. goodsid:
  3446. description: 商品ID
  3447. type: integer
  3448. goodsname:
  3449. description: 商品名称
  3450. type: string
  3451. qty:
  3452. description: 数量
  3453. type: number
  3454. startdate:
  3455. description: 点价开始日期
  3456. type: string
  3457. required:
  3458. - basic
  3459. - goodsid
  3460. - qty
  3461. type: object
  3462. erms3.SpotPriceOrder:
  3463. properties:
  3464. amount:
  3465. description: 金额
  3466. type: number
  3467. deliveryenddate:
  3468. description: 交收结束日期
  3469. type: string
  3470. deliverystartdate:
  3471. description: 交收开始日期
  3472. type: string
  3473. price:
  3474. description: 价格
  3475. type: number
  3476. qty:
  3477. description: 数量
  3478. type: number
  3479. required:
  3480. - amount
  3481. - price
  3482. - qty
  3483. type: object
  3484. hsby.GetHsbyMyCountRsp:
  3485. properties:
  3486. myCouponCount:
  3487. description: 我的优惠卷数量
  3488. type: integer
  3489. myOrderDetailListingCount:
  3490. description: 我的订单求购中数量
  3491. type: integer
  3492. myOrderDetailPreCount:
  3493. description: 我的订单抢购中数量
  3494. type: integer
  3495. myPackageUnReceiveCount:
  3496. description: 我的包裹待收货数量
  3497. type: integer
  3498. myPackageUnSendCount:
  3499. description: 我的包裹待发货数量
  3500. type: integer
  3501. myPayOrderCount:
  3502. description: 我的订单待付款数量
  3503. type: integer
  3504. type: object
  3505. hsby.QueryProvincesAndCitiesRsp:
  3506. properties:
  3507. cities:
  3508. description: 市
  3509. items:
  3510. $ref: '#/definitions/models.Division'
  3511. type: array
  3512. province:
  3513. $ref: '#/definitions/models.Division'
  3514. description: 省
  3515. type: object
  3516. models.Clientfixedadconfig:
  3517. properties:
  3518. adsort:
  3519. description: 排序
  3520. type: integer
  3521. adtype:
  3522. description: 广告位类型 - 1:新品抢购(HSBY)
  3523. type: integer
  3524. areauserid:
  3525. description: 所属机构ID
  3526. type: integer
  3527. createdate:
  3528. description: 创建时间
  3529. type: string
  3530. creatorid:
  3531. description: 创建人
  3532. type: integer
  3533. imagepath:
  3534. description: 图片
  3535. type: string
  3536. isshow:
  3537. description: 是否展示 - 0:不展示 1:展示
  3538. type: integer
  3539. modifierid:
  3540. description: 操作人
  3541. type: integer
  3542. recsize:
  3543. description: 推荐尺寸
  3544. type: string
  3545. title:
  3546. description: 标题
  3547. type: string
  3548. updatedate:
  3549. description: 更新时间
  3550. type: string
  3551. urlcontent:
  3552. description: 链接(地址或商品ID)
  3553. type: string
  3554. urltype:
  3555. description: 链接类型 - 1:直接地址 2:商品ID
  3556. type: integer
  3557. required:
  3558. - adsort
  3559. - adtype
  3560. type: object
  3561. models.Division:
  3562. properties:
  3563. autoid:
  3564. description: 自增ID
  3565. type: integer
  3566. divisioncode:
  3567. description: 行政代码
  3568. type: string
  3569. divisionlevel:
  3570. description: 行政级别
  3571. type: string
  3572. divisionname:
  3573. description: 行政名称
  3574. type: string
  3575. modifierid:
  3576. description: 修改人
  3577. type: integer
  3578. modifytime:
  3579. description: 修改时间
  3580. type: string
  3581. parentcode:
  3582. description: 上级行政代码
  3583. type: string
  3584. pathname:
  3585. description: 路径名称
  3586. type: string
  3587. postcode:
  3588. description: 邮政编码
  3589. type: string
  3590. separablename:
  3591. description: 可拆分的全称
  3592. type: string
  3593. shortcode:
  3594. description: 地区简码
  3595. type: string
  3596. required:
  3597. - autoid
  3598. - divisioncode
  3599. type: object
  3600. models.Enumdicitem:
  3601. properties:
  3602. autoid:
  3603. description: 自增ID
  3604. type: integer
  3605. bankmappedvalue:
  3606. description: 银行服务对应值
  3607. type: string
  3608. enumdiccode:
  3609. description: 所属枚举代码
  3610. type: string
  3611. enumdicid:
  3612. description: 所属枚举ID
  3613. type: integer
  3614. enumdicname:
  3615. description: 枚举项名称
  3616. type: string
  3617. enumitemname:
  3618. description: 枚举项值
  3619. type: integer
  3620. enumitemstatus:
  3621. description: 枚举项状态 - 1.启用 2.不启用
  3622. type: integer
  3623. enumitemvalue:
  3624. description: 通用值 - [币种通用简写]
  3625. type: string
  3626. param1:
  3627. description: 参数1[币种:币种小数位]
  3628. type: string
  3629. param2:
  3630. description: 参数1[币种:币种显示单位]
  3631. type: string
  3632. remark:
  3633. description: 备注
  3634. type: string
  3635. required:
  3636. - autoid
  3637. - enumdiccode
  3638. - enumdicid
  3639. - enumitemname
  3640. type: object
  3641. models.ErmcpMiddleGoodsModel:
  3642. properties:
  3643. areauserid:
  3644. description: 机构用户ID
  3645. type: integer
  3646. enumdicname:
  3647. description: 单位名称
  3648. type: string
  3649. evaluateratio:
  3650. description: 估价系数
  3651. type: number
  3652. goodsgroupid:
  3653. description: 关联期货品种ID
  3654. type: integer
  3655. isvalid:
  3656. description: 状态 0-无效(停用) 1-有效(正常)
  3657. type: integer
  3658. middlegoodscode:
  3659. description: 套保品种代码
  3660. type: string
  3661. middlegoodsid:
  3662. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3663. type: integer
  3664. middlegoodsname:
  3665. description: 套保品种名称
  3666. type: string
  3667. modifytime:
  3668. description: 修改时间
  3669. type: string
  3670. needhedgeratio:
  3671. description: 套保比率
  3672. type: number
  3673. qtydecimalplace:
  3674. description: 数量小数位
  3675. type: integer
  3676. relatedgoodsid:
  3677. description: 关联交易商品ID
  3678. type: integer
  3679. relatedgoodstype:
  3680. description: 关联商品类型 - 1:期货合约 2:现货品种
  3681. type: integer
  3682. type: object
  3683. models.ErmcpWrstandard:
  3684. properties:
  3685. areauserid:
  3686. description: 所属机构
  3687. type: integer
  3688. createtime:
  3689. description: 创建时间
  3690. type: string
  3691. creatorid:
  3692. description: 创建人
  3693. type: integer
  3694. deliverygoodsid:
  3695. description: 品种ID
  3696. type: integer
  3697. enumdicname:
  3698. description: 单位名称
  3699. type: string
  3700. isvalid:
  3701. description: 是否有效 0-无效(停用) 1-有效(正常)
  3702. type: integer
  3703. minivalue:
  3704. description: 最小变动值
  3705. type: integer
  3706. minivaluedp:
  3707. description: 最小变动值小数位
  3708. type: integer
  3709. realminivalue:
  3710. description: 实际最小变动值
  3711. type: integer
  3712. realminivaluedp:
  3713. description: 实际最小变动值小数位
  3714. type: integer
  3715. remark:
  3716. description: 备注
  3717. type: string
  3718. unitid:
  3719. description: 单位ID
  3720. type: integer
  3721. updatetime:
  3722. description: 更新时间
  3723. type: string
  3724. wrstandardcode:
  3725. description: 现货商品代码
  3726. type: string
  3727. wrstandardid:
  3728. description: 现货商品ID(SEQ_WRSTANDARD)
  3729. type: integer
  3730. wrstandardname:
  3731. description: 现货商品名称
  3732. type: string
  3733. type: object
  3734. models.Goods:
  3735. properties:
  3736. agreeunit:
  3737. description: 合约单位
  3738. type: number
  3739. auditaccountid:
  3740. description: 审核操作员账号
  3741. type: integer
  3742. audittime:
  3743. description: 审核时间
  3744. type: string
  3745. cancelaccountid:
  3746. description: 注销操作员账号
  3747. type: integer
  3748. canceltime:
  3749. description: 注销时间
  3750. type: string
  3751. closepricemode:
  3752. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  3753. type: integer
  3754. closepriceparam:
  3755. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  3756. type: number
  3757. createtime:
  3758. description: 创建时间
  3759. type: string
  3760. creatorid:
  3761. description: 创建人
  3762. type: integer
  3763. currencyid:
  3764. description: 报价货币ID
  3765. type: integer
  3766. cutmode:
  3767. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  3768. type: integer
  3769. decimalplace:
  3770. description: 报价小数位
  3771. type: integer
  3772. delistingdate:
  3773. description: 商品退市时间(状态:退市) -- 已作废
  3774. type: string
  3775. delistingmode:
  3776. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  3777. type: integer
  3778. deliveryflag:
  3779. description: 交割标志 - 0:不可交割 1:可交割
  3780. type: integer
  3781. forceclosemode:
  3782. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  3783. type: integer
  3784. forceclosevalue:
  3785. description: 定期强平参数 [收益权]
  3786. type: integer
  3787. goodscode:
  3788. description: 商品代码(内部)
  3789. type: string
  3790. goodscurrencyid:
  3791. description: 合约货币ID
  3792. type: integer
  3793. goodsgroupid:
  3794. description: 所属商品组ID
  3795. type: integer
  3796. goodsid:
  3797. description: 商品ID(自增ID SEQ_GOODS)
  3798. type: integer
  3799. goodsname:
  3800. description: 商品名称
  3801. type: string
  3802. goodsquotetype:
  3803. description: '合约报价类型: 1-直接报价 2-间接报价'
  3804. type: integer
  3805. goodsstatus:
  3806. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  3807. type: integer
  3808. goodstradetype:
  3809. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  3810. type: integer
  3811. goodunitid:
  3812. description: 报价单位ID
  3813. type: integer
  3814. hasquoter:
  3815. description: 是否有报价商 - 0:无报价商 1:有报价商
  3816. type: integer
  3817. hqprotecttime:
  3818. description: 行情保护时间(秒)
  3819. type: integer
  3820. innerdealmode:
  3821. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  3822. type: integer
  3823. isbuylimited:
  3824. description: 是否限制建仓量 - 0:不限制 1:限制
  3825. type: integer
  3826. lasttradedate:
  3827. description: 最后交易日期(状态:待退市)
  3828. type: string
  3829. listingdate:
  3830. description: 交易开始日期
  3831. type: string
  3832. marketid:
  3833. description: 所属市场ID
  3834. type: integer
  3835. modifierid:
  3836. description: 修改人
  3837. type: integer
  3838. modifystatus:
  3839. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  3840. type: integer
  3841. modifytime:
  3842. description: 修改时间
  3843. type: string
  3844. outerdealmode:
  3845. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  3846. type: integer
  3847. outgoodscode:
  3848. description: 商品代码(外部)
  3849. type: string
  3850. qtydecimalplace:
  3851. description: 成交量小数位
  3852. type: integer
  3853. quotegear:
  3854. description: 行情档位(1-10)
  3855. type: integer
  3856. quoteminunit:
  3857. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3858. type: integer
  3859. quoteshowtype:
  3860. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  3861. type: integer
  3862. quoteshowtypeinterval:
  3863. description: 行情报价间隔时间(秒)(成交价时为0)
  3864. type: integer
  3865. remark:
  3866. description: 备注
  3867. type: string
  3868. required:
  3869. - goodscode
  3870. - goodsid
  3871. - goodsname
  3872. - marketid
  3873. type: object
  3874. models.GoodsBrand:
  3875. properties:
  3876. brandid:
  3877. description: 品牌ID
  3878. type: integer
  3879. brandname:
  3880. description: 品牌名称
  3881. type: string
  3882. isvalid:
  3883. description: 是否有效 - 0:无效 1:有效
  3884. type: integer
  3885. type: object
  3886. models.GoodsGroupConvert:
  3887. properties:
  3888. convertratio:
  3889. description: 折算系数
  3890. type: number
  3891. dstgoodsgroupid:
  3892. description: 目标期货品种ID
  3893. type: integer
  3894. goodsgroupname:
  3895. description: 期货品种名称
  3896. type: string
  3897. outergroupcode:
  3898. description: 期货品种代码
  3899. type: string
  3900. srcgoodsgroupid:
  3901. description: 源期货品种ID
  3902. type: integer
  3903. type: object
  3904. models.GoodsIDAndName:
  3905. properties:
  3906. goodscode:
  3907. description: 商品代码(内部)
  3908. type: string
  3909. goodsid:
  3910. description: 商品ID(自增ID SEQ_GOODS)
  3911. type: integer
  3912. goodsname:
  3913. description: 商品名称
  3914. type: string
  3915. marketid:
  3916. description: 所属市场ID
  3917. type: integer
  3918. required:
  3919. - goodscode
  3920. - goodsid
  3921. - goodsname
  3922. - marketid
  3923. type: object
  3924. models.GoodsTypeModel:
  3925. properties:
  3926. modelid:
  3927. description: 型号ID
  3928. type: integer
  3929. modelname:
  3930. description: 型号名称
  3931. type: string
  3932. updatetime:
  3933. description: 更新时间
  3934. type: string
  3935. type: object
  3936. models.HsbyBuyMyPayOrder:
  3937. properties:
  3938. agreeunit:
  3939. description: 合约单位
  3940. type: number
  3941. buyaccountid:
  3942. description: 买方账号ID[报价币种]
  3943. type: integer
  3944. buyorderid:
  3945. description: 买方委托单号
  3946. type: string
  3947. createtime:
  3948. description: 创建时间
  3949. type: string
  3950. currencysign:
  3951. description: 货币符号
  3952. type: string
  3953. decimalplace:
  3954. description: 报价小数位
  3955. type: integer
  3956. goodscode:
  3957. description: 商品代码(内部)
  3958. type: string
  3959. goodsid:
  3960. description: 商品ID
  3961. type: integer
  3962. goodsname:
  3963. description: 商品名称
  3964. type: string
  3965. marketid:
  3966. description: 市场ID
  3967. type: integer
  3968. offamount:
  3969. description: 优惠金额
  3970. type: number
  3971. payamount:
  3972. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  3973. type: number
  3974. payflag:
  3975. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  3976. type: integer
  3977. paylimitedtime:
  3978. description: 支付期限
  3979. type: string
  3980. paytime:
  3981. description: 付款时间
  3982. type: string
  3983. picurls1:
  3984. description: 预售商品介绍图片[多张用逗号分隔]
  3985. type: string
  3986. picurls2:
  3987. description: 挂牌商品介绍图片[多张用逗号分隔]
  3988. type: string
  3989. sellaccountid:
  3990. description: 卖方账号ID[报价币种]
  3991. type: integer
  3992. sellorderid:
  3993. description: 卖方委托单号
  3994. type: string
  3995. tradeamount:
  3996. description: 成交金额
  3997. type: number
  3998. tradecharge:
  3999. description: 成交手续费(买方)
  4000. type: number
  4001. tradedate:
  4002. description: 交易日(yyyyMMdd)
  4003. type: string
  4004. tradeid:
  4005. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4006. type: string
  4007. trademode:
  4008. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4009. 21:竞拍-大宗式 22:受托竞价
  4010. type: integer
  4011. tradeprice:
  4012. description: 成交价格
  4013. type: number
  4014. tradeqty:
  4015. description: 成交数量
  4016. type: integer
  4017. vendorname1:
  4018. description: 预售商品供应商名称
  4019. type: string
  4020. vendorname2:
  4021. description: 挂牌商品供应商名称
  4022. type: string
  4023. required:
  4024. - goodscode
  4025. - goodsname
  4026. - tradeid
  4027. - trademode
  4028. type: object
  4029. models.HsbyBuyMyTradeDetail:
  4030. properties:
  4031. accountid:
  4032. description: 账户ID[报价币种]
  4033. type: integer
  4034. agreeunit:
  4035. description: 合约单位
  4036. type: number
  4037. amount:
  4038. description: 金额 = 价格 * 数量 * 合约单位
  4039. type: number
  4040. buyorsell:
  4041. description: 买卖 - 0:买 1:卖
  4042. type: integer
  4043. currencysign:
  4044. description: 货币符号
  4045. type: string
  4046. decimalplace:
  4047. description: 报价小数位
  4048. type: integer
  4049. goodscode:
  4050. description: 商品代码(内部)
  4051. type: string
  4052. goodsid:
  4053. description: 商品ID
  4054. type: integer
  4055. goodsname:
  4056. description: 商品名称
  4057. type: string
  4058. marketid:
  4059. description: 市场ID
  4060. type: integer
  4061. orderid:
  4062. description: 单号(成交单号)
  4063. type: string
  4064. picurls1:
  4065. description: 预售商品介绍图片[多张用逗号分隔]
  4066. type: string
  4067. picurls2:
  4068. description: 挂牌商品介绍图片[多张用逗号分隔]
  4069. type: string
  4070. price:
  4071. description: 价格
  4072. type: number
  4073. qty:
  4074. description: 数量
  4075. type: integer
  4076. time:
  4077. description: 时间
  4078. type: string
  4079. trademode:
  4080. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4081. 21:竞拍-大宗式 22:受托竞价
  4082. type: integer
  4083. vendorname1:
  4084. description: 预售商品供应商名称
  4085. type: string
  4086. vendorname2:
  4087. description: 挂牌商品供应商名称
  4088. type: string
  4089. required:
  4090. - accountid
  4091. - buyorsell
  4092. - goodscode
  4093. - goodsid
  4094. - goodsname
  4095. - marketid
  4096. - orderid
  4097. - qty
  4098. - time
  4099. - trademode
  4100. type: object
  4101. models.HsbyGoodsOrderDetail:
  4102. properties:
  4103. buyorsell:
  4104. description: 买卖 - 0:买 1:卖
  4105. type: integer
  4106. currencysign:
  4107. description: 货币符号
  4108. type: string
  4109. customername:
  4110. description: 客户名称(企业名称),已脱敏
  4111. type: string
  4112. enableqty:
  4113. description: 可用数量
  4114. type: integer
  4115. goodunit:
  4116. description: 报价单位
  4117. type: string
  4118. orderid:
  4119. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4120. type: string
  4121. orderprice:
  4122. description: 委托价格
  4123. type: number
  4124. ordertime:
  4125. description: 委托时间
  4126. type: string
  4127. required:
  4128. - buyorsell
  4129. - orderid
  4130. - ordertime
  4131. type: object
  4132. models.HsbyListingGoodsDetail:
  4133. properties:
  4134. agreeunit:
  4135. description: 合约单位
  4136. type: number
  4137. buymaxqty:
  4138. description: 购买上限 [71] - 0为不限
  4139. type: integer
  4140. currency:
  4141. description: 货币
  4142. type: string
  4143. currencysign:
  4144. description: 货币符号
  4145. type: string
  4146. decimalplace:
  4147. description: 报价小数位
  4148. type: integer
  4149. desccityid:
  4150. description: 目的地(市)ID
  4151. type: integer
  4152. descprovinceid:
  4153. description: 目的地(省)ID
  4154. type: integer
  4155. goodscode:
  4156. description: 商品代码(内部)
  4157. type: string
  4158. goodsdesc:
  4159. description: 商品详情
  4160. type: string
  4161. goodsid:
  4162. description: 商品ID(自增ID SEQ_GOODS)
  4163. type: integer
  4164. goodsname:
  4165. description: 商品名称
  4166. type: string
  4167. goodsprice:
  4168. description: 商品价格
  4169. type: number
  4170. hotindex:
  4171. description: 景点热度
  4172. type: integer
  4173. last:
  4174. description: 现价
  4175. type: number
  4176. limitdown:
  4177. description: 跌停价
  4178. type: number
  4179. limitup:
  4180. description: 涨停价
  4181. type: number
  4182. lotsize:
  4183. description: 手数最小变动单位
  4184. type: integer
  4185. marketid:
  4186. description: 所属市场ID
  4187. type: integer
  4188. picurls:
  4189. description: 介绍图片[多张用逗号分隔]
  4190. type: string
  4191. quoteminunit:
  4192. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4193. type: integer
  4194. stepvalue:
  4195. description: 价格最小变动单位
  4196. type: number
  4197. trademode:
  4198. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4199. 21:竞拍-大宗式 22:受托竞价
  4200. type: integer
  4201. vendorattr:
  4202. description: 供应商附件(多张,逗号分隔)
  4203. type: string
  4204. vendorname:
  4205. description: 供应商名称
  4206. type: string
  4207. vendorphone:
  4208. description: 供应商客服电话
  4209. type: string
  4210. videourls:
  4211. description: 介绍视频[多张用逗号分隔]
  4212. type: string
  4213. required:
  4214. - goodscode
  4215. - goodsid
  4216. - goodsname
  4217. - marketid
  4218. - trademode
  4219. type: object
  4220. models.HsbyMarketGoods:
  4221. properties:
  4222. accountid:
  4223. description: 账户ID[报价币种]
  4224. type: integer
  4225. agreeunit:
  4226. description: 合约单位
  4227. type: number
  4228. buyorsell:
  4229. description: 买卖 - 0:买 1:卖
  4230. type: integer
  4231. categoryid:
  4232. description: 类别ID(WRCATEGORY)
  4233. type: integer
  4234. currency:
  4235. description: 货币
  4236. type: string
  4237. currencysign:
  4238. description: 货币符号
  4239. type: string
  4240. customername:
  4241. description: 卖家名称
  4242. type: string
  4243. decimalplace:
  4244. description: 报价小数位
  4245. type: integer
  4246. goodscode:
  4247. description: 商品代码(内部)
  4248. type: string
  4249. goodsid:
  4250. description: 商品ID
  4251. type: integer
  4252. goodsname:
  4253. description: 商品名称
  4254. type: string
  4255. goodsprice:
  4256. description: 商品价格
  4257. type: number
  4258. hascoupon:
  4259. description: 是否可用优惠卷
  4260. type: boolean
  4261. hotindex:
  4262. description: 景点热度
  4263. type: integer
  4264. marketid:
  4265. description: 市场ID
  4266. type: integer
  4267. orderid:
  4268. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4269. type: string
  4270. orderprice:
  4271. description: 委托价格
  4272. type: number
  4273. orderstatus:
  4274. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  4275. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  4276. 16:成交失败违约(荷兰式竞拍专用)
  4277. type: integer
  4278. picurls:
  4279. description: 介绍图片[多张用逗号分隔]
  4280. type: string
  4281. quoteminunit:
  4282. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4283. type: integer
  4284. sellUserID:
  4285. description: 卖方UserID
  4286. type: integer
  4287. trademode:
  4288. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4289. 21:竞拍-大宗式 22:受托竞价
  4290. type: integer
  4291. videourls:
  4292. description: 介绍视频[多张用逗号分隔]
  4293. type: string
  4294. required:
  4295. - accountid
  4296. - buyorsell
  4297. - goodscode
  4298. - goodsid
  4299. - goodsname
  4300. - marketid
  4301. - orderid
  4302. - trademode
  4303. type: object
  4304. models.HsbyMarketGoodsDetail:
  4305. properties:
  4306. accountid:
  4307. description: 账户ID[报价币种]
  4308. type: integer
  4309. agreeunit:
  4310. description: 合约单位
  4311. type: number
  4312. buymaxqty:
  4313. description: 购买上限 [71] - 0为不限
  4314. type: integer
  4315. buyorsell:
  4316. description: 买卖 - 0:买 1:卖
  4317. type: integer
  4318. cancelqty:
  4319. description: 撤单数量
  4320. type: integer
  4321. categoryid:
  4322. description: 类别ID(WRCATEGORY)
  4323. type: integer
  4324. currency:
  4325. description: 货币
  4326. type: string
  4327. currencysign:
  4328. description: 货币符号
  4329. type: string
  4330. customername:
  4331. description: 卖家名称
  4332. type: string
  4333. decimalplace:
  4334. description: 报价小数位
  4335. type: integer
  4336. goodscode:
  4337. description: 商品代码(内部)
  4338. type: string
  4339. goodsdesc:
  4340. description: 商品详情
  4341. type: string
  4342. goodsid:
  4343. description: 商品ID
  4344. type: integer
  4345. goodsname:
  4346. description: 商品名称
  4347. type: string
  4348. goodsprice:
  4349. description: 商品价格
  4350. type: number
  4351. hotindex:
  4352. description: 景点热度
  4353. type: integer
  4354. lotsize:
  4355. description: 手数最小变动单位
  4356. type: integer
  4357. marketid:
  4358. description: 市场ID
  4359. type: integer
  4360. orderid:
  4361. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4362. type: string
  4363. orderprice:
  4364. description: 委托价格
  4365. type: number
  4366. orderqty:
  4367. description: 委托数量
  4368. type: integer
  4369. orderstatus:
  4370. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  4371. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  4372. 16:成交失败违约(荷兰式竞拍专用)
  4373. type: integer
  4374. picurls:
  4375. description: 介绍图片[多张用逗号分隔]
  4376. type: string
  4377. quoteminunit:
  4378. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4379. type: integer
  4380. sellUserID:
  4381. description: 卖方UserID
  4382. type: integer
  4383. trademode:
  4384. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4385. 21:竞拍-大宗式 22:受托竞价
  4386. type: integer
  4387. tradeqty:
  4388. description: 成交数量
  4389. type: integer
  4390. vendorattr:
  4391. description: 供应商附件(多张,逗号分隔)
  4392. type: string
  4393. vendorname:
  4394. description: 供应商名称
  4395. type: string
  4396. vendorphone:
  4397. description: 供应商客服电话
  4398. type: string
  4399. videourls:
  4400. description: 介绍视频[多张用逗号分隔]
  4401. type: string
  4402. required:
  4403. - accountid
  4404. - buyorsell
  4405. - goodscode
  4406. - goodsid
  4407. - goodsname
  4408. - marketid
  4409. - orderid
  4410. - orderqty
  4411. - trademode
  4412. type: object
  4413. models.HsbyMarketInfo:
  4414. properties:
  4415. marketid:
  4416. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  4417. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  4418. type: integer
  4419. marketname:
  4420. description: 市场名称
  4421. type: string
  4422. marketstatus:
  4423. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  4424. type: integer
  4425. trademode:
  4426. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4427. 21:竞拍-大宗式 22:受托竞价
  4428. type: integer
  4429. required:
  4430. - marketid
  4431. - marketstatus
  4432. - trademode
  4433. type: object
  4434. models.HsbyMyGoods:
  4435. properties:
  4436. accountid:
  4437. description: 账号Id
  4438. type: integer
  4439. agreeunit:
  4440. description: 合约单位
  4441. type: number
  4442. buyaverageprice:
  4443. description: 持仓均价
  4444. type: number
  4445. buycurholderamount:
  4446. description: 买当前持仓总金额[商品币种]
  4447. type: number
  4448. buycurpositionqty:
  4449. description: 买当前持仓总数量
  4450. type: integer
  4451. buymaxqty:
  4452. description: 购买上限 [71] - 0为不限
  4453. type: integer
  4454. currencysign:
  4455. description: 货币符号
  4456. type: string
  4457. decimalplace:
  4458. description: 报价小数位
  4459. type: integer
  4460. enableqty:
  4461. description: 可用数量
  4462. type: integer
  4463. goodscode:
  4464. description: 商品代码(内部)
  4465. type: string
  4466. goodsid:
  4467. description: 商品Id
  4468. type: integer
  4469. goodsname:
  4470. description: 商品名称
  4471. type: string
  4472. goodsprice:
  4473. description: 商品价格
  4474. type: number
  4475. goodsstatus:
  4476. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  4477. type: integer
  4478. last:
  4479. description: 现价(仅使用于挂牌点选)
  4480. type: number
  4481. limitdown:
  4482. description: 跌停价(仅使用于挂牌点选)
  4483. type: number
  4484. limitup:
  4485. description: 涨停价(仅使用于挂牌点选)
  4486. type: number
  4487. lotsize:
  4488. description: 手数最小变动单位
  4489. type: integer
  4490. marketid:
  4491. description: 所属市场ID
  4492. type: integer
  4493. picurls:
  4494. description: 介绍图片[多张用逗号分隔]
  4495. type: string
  4496. quoteminunit:
  4497. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4498. type: integer
  4499. stepvalue:
  4500. description: 价格最小变动单位
  4501. type: number
  4502. trademode:
  4503. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4504. 21:竞拍-大宗式 22:受托竞价
  4505. type: integer
  4506. required:
  4507. - accountid
  4508. - goodscode
  4509. - goodsid
  4510. - goodsname
  4511. - marketid
  4512. - trademode
  4513. type: object
  4514. models.HsbyMyPackage:
  4515. properties:
  4516. accountid:
  4517. description: 账户ID
  4518. type: integer
  4519. address:
  4520. description: 提货人详细地址
  4521. type: string
  4522. agreeunit:
  4523. description: 合约单位
  4524. type: number
  4525. amount:
  4526. description: 提货金额
  4527. type: number
  4528. auditer:
  4529. description: 审核人
  4530. type: integer
  4531. audittime:
  4532. description: 审核时间
  4533. type: string
  4534. averageprice:
  4535. description: 均价
  4536. type: number
  4537. cardnum:
  4538. description: 提货人证件号码
  4539. type: string
  4540. cardtypeid:
  4541. description: 提货人证件类型
  4542. type: integer
  4543. checkremark:
  4544. description: 审核备注
  4545. type: string
  4546. currencysign:
  4547. description: 货币符号
  4548. type: string
  4549. decimalplace:
  4550. description: 报价小数位
  4551. type: integer
  4552. goodscode:
  4553. description: 商品代码(内部)
  4554. type: string
  4555. goodsid:
  4556. description: 商品ID
  4557. type: integer
  4558. goodsname:
  4559. description: 商品名称
  4560. type: string
  4561. handlestatus:
  4562. description: 处理状态
  4563. type: integer
  4564. marketid:
  4565. description: 市场ID
  4566. type: integer
  4567. phonenum:
  4568. description: 提货人联系方式
  4569. type: string
  4570. picurls:
  4571. description: 介绍图片[多张用逗号分隔]
  4572. type: string
  4573. qty:
  4574. description: 提货数量
  4575. type: number
  4576. recivername:
  4577. description: 提货人姓名
  4578. type: string
  4579. reqtime:
  4580. description: 更新时间
  4581. type: string
  4582. takemode:
  4583. description: 提货方式 - 2:自提 3:配送
  4584. type: integer
  4585. takeorderid:
  4586. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  4587. type: string
  4588. takeorderstatus:
  4589. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  4590. type: integer
  4591. takeremark:
  4592. description: 提货备注
  4593. type: string
  4594. tradedate:
  4595. description: 交易日(yyyyMMdd)
  4596. type: string
  4597. trademode:
  4598. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4599. 21:竞拍-大宗式 22:受托竞价
  4600. type: integer
  4601. userid:
  4602. description: 用户ID
  4603. type: integer
  4604. vendorname:
  4605. description: 供应商名称
  4606. type: string
  4607. required:
  4608. - goodscode
  4609. - goodsname
  4610. - takeorderid
  4611. - trademode
  4612. type: object
  4613. models.HsbyPreGoods:
  4614. properties:
  4615. agreeunit:
  4616. description: 合约单位
  4617. type: number
  4618. currency:
  4619. description: 货币
  4620. type: string
  4621. currencysign:
  4622. description: 货币符号
  4623. type: string
  4624. decimalplace:
  4625. description: 报价小数位
  4626. type: integer
  4627. enableqty:
  4628. description: 剩余数量
  4629. type: integer
  4630. goodscode:
  4631. description: 商品代码(内部)
  4632. type: string
  4633. goodsid:
  4634. description: 商品ID(自增ID SEQ_GOODS)
  4635. type: integer
  4636. goodsname:
  4637. description: 商品名称
  4638. type: string
  4639. goodsstatus:
  4640. description: 商品状态- 2:未上市 3:上市
  4641. type: integer
  4642. lasttradedate:
  4643. description: 最后交易日期(状态:待退市)
  4644. type: string
  4645. listingdate:
  4646. description: 交易开始日期
  4647. type: string
  4648. marketid:
  4649. description: 所属市场ID
  4650. type: integer
  4651. picurls:
  4652. description: 介绍图片[多张用逗号分隔]
  4653. type: string
  4654. presaledqty:
  4655. description: 已预售量(预售结束时更新)
  4656. type: integer
  4657. presaleqty:
  4658. description: 预售数量
  4659. type: integer
  4660. quoteminunit:
  4661. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4662. type: integer
  4663. refprice:
  4664. description: 参考价格[一口价]
  4665. type: number
  4666. relatedgoodsid:
  4667. description: 关联交易合约ID
  4668. type: integer
  4669. trademode:
  4670. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4671. 21:竞拍-大宗式 22:受托竞价
  4672. type: integer
  4673. videourls:
  4674. description: 介绍视频[多张用逗号分隔]
  4675. type: string
  4676. required:
  4677. - goodscode
  4678. - goodsid
  4679. - goodsname
  4680. - marketid
  4681. - trademode
  4682. type: object
  4683. models.HsbyPreGoodsDetail:
  4684. properties:
  4685. agreeunit:
  4686. description: 合约单位
  4687. type: number
  4688. buymaxqty:
  4689. description: 购买上限 [71] - 0为不限
  4690. type: integer
  4691. currency:
  4692. description: 货币
  4693. type: string
  4694. currencysign:
  4695. description: 货币符号
  4696. type: string
  4697. customername:
  4698. description: 发行单位
  4699. type: string
  4700. decimalplace:
  4701. description: 报价小数位
  4702. type: integer
  4703. desccityid:
  4704. description: 目的地(市)ID
  4705. type: integer
  4706. descprovinceid:
  4707. description: 目的地(省)ID
  4708. type: integer
  4709. enableqty:
  4710. description: 剩余数量
  4711. type: integer
  4712. goodscode:
  4713. description: 商品代码(内部)
  4714. type: string
  4715. goodsdesc:
  4716. description: 商品详情
  4717. type: string
  4718. goodsid:
  4719. description: 商品ID(自增ID SEQ_GOODS)
  4720. type: integer
  4721. goodsname:
  4722. description: 商品名称
  4723. type: string
  4724. goodsstatus:
  4725. description: 商品状态- 2:未上市 3:上市
  4726. type: integer
  4727. goodunit:
  4728. description: 报价单位
  4729. type: string
  4730. lasttradedate:
  4731. description: 最后交易日期(状态:待退市)
  4732. type: string
  4733. listingdate:
  4734. description: 交易开始日期
  4735. type: string
  4736. lotsize:
  4737. description: 手数最小变动单位
  4738. type: integer
  4739. marketid:
  4740. description: 所属市场ID
  4741. type: integer
  4742. picurls:
  4743. description: 介绍图片[多张用逗号分隔]
  4744. type: string
  4745. presaledqty:
  4746. description: 已预售量(预售结束时更新)
  4747. type: integer
  4748. presaleqty:
  4749. description: 预售数量
  4750. type: integer
  4751. quoteminunit:
  4752. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4753. type: integer
  4754. refprice:
  4755. description: 参考价格[一口价]
  4756. type: number
  4757. relatedgoodsid:
  4758. description: 关联交易合约ID
  4759. type: integer
  4760. stepvalue:
  4761. description: 价格最小变动单位
  4762. type: number
  4763. trademode:
  4764. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4765. 21:竞拍-大宗式 22:受托竞价
  4766. type: integer
  4767. vendorattr:
  4768. description: 供应商附件(多张,逗号分隔)
  4769. type: string
  4770. vendorname:
  4771. description: 供应商名称
  4772. type: string
  4773. vendorphone:
  4774. description: 供应商客服电话
  4775. type: string
  4776. videourls:
  4777. description: 介绍视频[多张用逗号分隔]
  4778. type: string
  4779. required:
  4780. - goodscode
  4781. - goodsid
  4782. - goodsname
  4783. - marketid
  4784. - trademode
  4785. type: object
  4786. models.HsbySellCollectionOrder:
  4787. properties:
  4788. agreeunit:
  4789. description: 合约单位
  4790. type: number
  4791. buyaccountid:
  4792. description: 买方账号ID[报价币种]
  4793. type: integer
  4794. buyorderid:
  4795. description: 买方委托单号
  4796. type: string
  4797. createtime:
  4798. description: 创建时间
  4799. type: string
  4800. currencysign:
  4801. description: 货币符号
  4802. type: string
  4803. decimalplace:
  4804. description: 报价小数位
  4805. type: integer
  4806. goodscode:
  4807. description: 商品代码(内部)
  4808. type: string
  4809. goodsid:
  4810. description: 商品ID
  4811. type: integer
  4812. goodsname:
  4813. description: 商品名称
  4814. type: string
  4815. marketid:
  4816. description: 市场ID
  4817. type: integer
  4818. offamount:
  4819. description: 优惠金额
  4820. type: number
  4821. payamount:
  4822. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  4823. type: number
  4824. payflag:
  4825. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  4826. type: integer
  4827. paylimitedtime:
  4828. description: 支付期限
  4829. type: string
  4830. paytime:
  4831. description: 付款时间
  4832. type: string
  4833. picurls:
  4834. description: 商品介绍图片[多张用逗号分隔]
  4835. type: string
  4836. sellaccountid:
  4837. description: 卖方账号ID[报价币种]
  4838. type: integer
  4839. sellorderid:
  4840. description: 卖方委托单号
  4841. type: string
  4842. tradeamount:
  4843. description: 成交金额
  4844. type: number
  4845. tradecharge:
  4846. description: 成交手续费(买方)
  4847. type: number
  4848. tradedate:
  4849. description: 交易日(yyyyMMdd)
  4850. type: string
  4851. tradeid:
  4852. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4853. type: string
  4854. trademode:
  4855. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4856. 21:竞拍-大宗式 22:受托竞价
  4857. type: integer
  4858. tradeprice:
  4859. description: 成交价格
  4860. type: number
  4861. tradeqty:
  4862. description: 成交数量
  4863. type: integer
  4864. required:
  4865. - goodscode
  4866. - goodsname
  4867. - tradeid
  4868. - trademode
  4869. type: object
  4870. models.HsbySellMyDetail:
  4871. properties:
  4872. accountid:
  4873. description: 账户ID[报价币种]
  4874. type: integer
  4875. agreeunit:
  4876. description: 合约单位
  4877. type: number
  4878. buyorsell:
  4879. description: 买卖 - 0:买 1:卖
  4880. type: integer
  4881. currencysign:
  4882. description: 货币符号
  4883. type: string
  4884. decimalplace:
  4885. description: 报价小数位
  4886. type: integer
  4887. goodscode:
  4888. description: 商品代码(内部)
  4889. type: string
  4890. goodsid:
  4891. description: 商品ID
  4892. type: integer
  4893. goodsname:
  4894. description: 商品名称
  4895. type: string
  4896. marketid:
  4897. description: 市场ID
  4898. type: integer
  4899. orderid:
  4900. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  4901. type: string
  4902. ordertype:
  4903. description: 单据类型:0 - 发布中, 1 - 已完成
  4904. type: integer
  4905. picurls:
  4906. description: 介绍图片[多张用逗号分隔]
  4907. type: string
  4908. price:
  4909. description: 价格
  4910. type: number
  4911. qty:
  4912. description: 数量
  4913. type: integer
  4914. time:
  4915. description: 时间
  4916. type: string
  4917. trademode:
  4918. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4919. 21:竞拍-大宗式 22:受托竞价
  4920. type: integer
  4921. vendorname:
  4922. description: 供应商名称
  4923. type: string
  4924. required:
  4925. - accountid
  4926. - buyorsell
  4927. - goodscode
  4928. - goodsid
  4929. - goodsname
  4930. - marketid
  4931. - orderid
  4932. - time
  4933. - trademode
  4934. type: object
  4935. models.HsbyTopGoods:
  4936. properties:
  4937. agreeunit:
  4938. description: 合约单位
  4939. type: number
  4940. currency:
  4941. description: 货币
  4942. type: string
  4943. currencysign:
  4944. description: 货币符号
  4945. type: string
  4946. decimalplace:
  4947. description: 报价小数位
  4948. type: integer
  4949. goodscode:
  4950. description: 商品代码(内部)
  4951. type: string
  4952. goodsid:
  4953. description: 商品ID(自增ID SEQ_GOODS)
  4954. type: integer
  4955. goodsname:
  4956. description: 商品名称
  4957. type: string
  4958. hotindex:
  4959. description: 景点热度
  4960. type: integer
  4961. last:
  4962. description: 现价
  4963. type: number
  4964. marketid:
  4965. description: 所属市场ID
  4966. type: integer
  4967. picurls:
  4968. description: 介绍图片[多张用逗号分隔]
  4969. type: string
  4970. quoteminunit:
  4971. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4972. type: integer
  4973. trademode:
  4974. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4975. 21:竞拍-大宗式 22:受托竞价
  4976. type: integer
  4977. videourls:
  4978. description: 介绍视频[多张用逗号分隔]
  4979. type: string
  4980. required:
  4981. - goodscode
  4982. - goodsid
  4983. - goodsname
  4984. - marketid
  4985. - trademode
  4986. type: object
  4987. models.HybsMyBuyOrderDetail:
  4988. properties:
  4989. accountid:
  4990. description: 账户ID[报价币种]
  4991. type: integer
  4992. agreeunit:
  4993. description: 合约单位
  4994. type: number
  4995. buyorsell:
  4996. description: 买卖 - 0:买 1:卖
  4997. type: integer
  4998. cancelqty:
  4999. description: 撤单数量
  5000. type: integer
  5001. currencysign:
  5002. description: 货币符号
  5003. type: string
  5004. decimalplace:
  5005. description: 报价小数位
  5006. type: integer
  5007. goodscode:
  5008. description: 商品代码(内部)
  5009. type: string
  5010. goodsid:
  5011. description: 商品ID
  5012. type: integer
  5013. goodsname:
  5014. description: 商品名称
  5015. type: string
  5016. listingselecttype:
  5017. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  5018. type: integer
  5019. marketid:
  5020. description: 市场ID
  5021. type: integer
  5022. mybuystatus:
  5023. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  5024. type: integer
  5025. orderamount:
  5026. description: 委托金额
  5027. type: number
  5028. orderid:
  5029. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5030. type: string
  5031. orderprice:
  5032. description: 委托价格
  5033. type: number
  5034. orderqty:
  5035. description: 委托数量
  5036. type: integer
  5037. orderstatus:
  5038. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5039. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5040. 16:成交失败违约(荷兰式竞拍专用)
  5041. type: integer
  5042. ordertime:
  5043. description: 委托时间
  5044. type: string
  5045. picurls1:
  5046. description: 预售商品介绍图片[多张用逗号分隔]
  5047. type: string
  5048. picurls2:
  5049. description: 挂牌商品介绍图片[多张用逗号分隔]
  5050. type: string
  5051. trademode:
  5052. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5053. 21:竞拍-大宗式 22:受托竞价
  5054. type: integer
  5055. tradeqty:
  5056. description: 成交数量
  5057. type: integer
  5058. vendorname1:
  5059. description: 预售商品供应商名称
  5060. type: string
  5061. vendorname2:
  5062. description: 挂牌商品供应商名称
  5063. type: string
  5064. required:
  5065. - accountid
  5066. - buyorsell
  5067. - goodscode
  5068. - goodsid
  5069. - goodsname
  5070. - marketid
  5071. - orderid
  5072. - orderqty
  5073. - ordertime
  5074. - trademode
  5075. type: object
  5076. models.Market:
  5077. properties:
  5078. auctionwrtype:
  5079. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  5080. type: integer
  5081. canacceptquote:
  5082. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  5083. type: integer
  5084. cangoodsexercise:
  5085. description: '[期权]是否可现货行权- 0:否 1:是'
  5086. type: integer
  5087. cangoodsexercisetype:
  5088. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  5089. type: integer
  5090. canmanualquotestrike:
  5091. description: 是否可手动报行权价- 0:否 1:是 [期权]
  5092. type: integer
  5093. canmutistage:
  5094. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  5095. type: integer
  5096. canpreexercise:
  5097. description: '[期权]是否可预申报- 0:否 1:是'
  5098. type: integer
  5099. clearinterval:
  5100. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  5101. type: integer
  5102. contracttmp:
  5103. description: 合同模板[荷兰式][竞价式][仓单贸易]
  5104. type: string
  5105. exchareaid:
  5106. description: 所属交易所,可以没有
  5107. type: integer
  5108. goodstype:
  5109. description: 商品类型 - 1:交易商品 2:仓单商品
  5110. type: integer
  5111. hasrebate:
  5112. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  5113. type: integer
  5114. hastradecredit:
  5115. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  5116. type: integer
  5117. haswr:
  5118. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  5119. type: integer
  5120. isdeductmargin:
  5121. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  5122. type: integer
  5123. isrecordsource:
  5124. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  5125. type: integer
  5126. isreleasemargin:
  5127. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  5128. type: integer
  5129. marginformula:
  5130. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  5131. type: integer
  5132. marginformula2:
  5133. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  5134. type: integer
  5135. marketid:
  5136. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  5137. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  5138. type: integer
  5139. marketname:
  5140. description: 市场名称
  5141. type: string
  5142. marketserviceid:
  5143. description: 市场服务ID
  5144. type: integer
  5145. marketstatus:
  5146. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  5147. type: integer
  5148. markettype:
  5149. description: 市场类型- 1:非交易服务 2:交易服务
  5150. type: integer
  5151. matchermode:
  5152. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  5153. type: integer
  5154. openmethod:
  5155. description: 开盘模式 - 0 自动 1手动
  5156. type: integer
  5157. otcuserid:
  5158. description: 场外期权做市商[场外期权]
  5159. type: integer
  5160. outersynctime:
  5161. description: 外部同步时间点(h24:mi:ss)[场外期权]
  5162. type: string
  5163. pendingflag:
  5164. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  5165. type: integer
  5166. pendingtime:
  5167. description: 待开市时间[通道交易-对冲](HH:mm)
  5168. type: string
  5169. performancetempid:
  5170. description: 履约计划模板ID - 作废
  5171. type: integer
  5172. premiumquotemode:
  5173. description: 权利金报价方式 - 1:自动 2:手动
  5174. type: integer
  5175. rebateratio:
  5176. description: 返利比率[竞价式]
  5177. type: number
  5178. reckonorder:
  5179. description: 结算顺序
  5180. type: integer
  5181. reckonpricealgorithm:
  5182. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  5183. 6.卖一价 7.买一卖一均价 8.外部结算价'
  5184. type: integer
  5185. reckonpriceparam:
  5186. description: 结算价参数
  5187. type: integer
  5188. reckontime:
  5189. description: 结算时间[通道交易-对冲](HH:mm)
  5190. type: string
  5191. roleprioritytype:
  5192. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  5193. type: integer
  5194. selllistingauditflag:
  5195. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  5196. type: integer
  5197. trademarkettype:
  5198. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  5199. type: integer
  5200. trademode:
  5201. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5202. 21:竞拍-大宗式 22:受托竞价
  5203. type: integer
  5204. tradeproperty:
  5205. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  5206. 8:场外期权
  5207. type: integer
  5208. tradetype:
  5209. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  5210. type: integer
  5211. required:
  5212. - marketid
  5213. - marketstatus
  5214. - openmethod
  5215. - reckonpricealgorithm
  5216. - trademode
  5217. - tradeproperty
  5218. type: object
  5219. models.Marketrun:
  5220. properties:
  5221. afternexttradedate:
  5222. description: 下下交易日
  5223. type: string
  5224. clearquoteflag:
  5225. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  5226. type: integer
  5227. lastreckondate:
  5228. description: 最新交易日(结算成功)
  5229. type: string
  5230. machinedate:
  5231. description: 机器时间
  5232. type: string
  5233. manualflag:
  5234. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  5235. type: integer
  5236. marketid:
  5237. description: 市场ID
  5238. type: integer
  5239. nexttradedate:
  5240. description: 下一交易日
  5241. type: string
  5242. pretradedate:
  5243. description: 上一交易日
  5244. type: string
  5245. reckonflag:
  5246. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  5247. type: integer
  5248. runstatus:
  5249. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  5250. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  5251. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  5252. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  5253. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  5254. 62.今日免清算
  5255. type: integer
  5256. sectionid:
  5257. description: 时间段号[多时段时用]
  5258. type: integer
  5259. tradedate:
  5260. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  5261. type: string
  5262. tradedate2:
  5263. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  5264. type: string
  5265. updatetime:
  5266. description: 更新时间
  5267. type: string
  5268. required:
  5269. - marketid
  5270. - nexttradedate
  5271. - reckonflag
  5272. - runstatus
  5273. - tradedate
  5274. - tradedate2
  5275. type: object
  5276. models.Messageboard:
  5277. properties:
  5278. createtime:
  5279. description: 创建时间
  5280. type: string
  5281. message:
  5282. description: 留言信息
  5283. type: string
  5284. messageboardid:
  5285. description: 留言簿ID(SEQ_MessageBoard)
  5286. type: integer
  5287. userid:
  5288. description: 用户ID
  5289. type: integer
  5290. required:
  5291. - messageboardid
  5292. type: object
  5293. models.MyCoupon:
  5294. properties:
  5295. accountid:
  5296. description: 资金账户ID
  5297. type: integer
  5298. areauserid:
  5299. description: 所属机构
  5300. type: integer
  5301. conditionvalue:
  5302. description: 条件阈值(可为0)
  5303. type: number
  5304. couponcategroy:
  5305. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  5306. type: integer
  5307. couponname:
  5308. description: 优惠券名称
  5309. type: string
  5310. coupontypeid:
  5311. description: 优惠券类型ID
  5312. type: string
  5313. couponvalue:
  5314. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  5315. type: number
  5316. curfreezeqty:
  5317. description: 期末冻结数量
  5318. type: integer
  5319. curqty:
  5320. description: 期末数量
  5321. type: integer
  5322. isgeneral:
  5323. description: 是否通用券 - 0:否 1:是
  5324. type: integer
  5325. isunusable:
  5326. description: 是否不可用
  5327. type: boolean
  5328. limitedflag:
  5329. description: 是否指定商品 - 0:不限 1:限制
  5330. type: integer
  5331. limitedgoodsids:
  5332. description: 指定商品IDs[逗号分隔,前后加逗号]
  5333. type: string
  5334. orifreezeqty:
  5335. description: 期初冻结数量
  5336. type: integer
  5337. oriqty:
  5338. description: 期初数量
  5339. type: integer
  5340. reasontype:
  5341. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  5342. type: integer
  5343. todaydecrease:
  5344. description: 今日减少
  5345. type: integer
  5346. todayincrease:
  5347. description: 今日增加
  5348. type: integer
  5349. userid:
  5350. description: 用户ID
  5351. type: integer
  5352. userscope:
  5353. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  5354. type: string
  5355. required:
  5356. - accountid
  5357. - coupontypeid
  5358. type: object
  5359. models.MyCouponHold:
  5360. properties:
  5361. accountid:
  5362. description: 资金账户ID
  5363. type: integer
  5364. conditionvalue:
  5365. description: 条件阈值(可为0)
  5366. type: number
  5367. couponcategroy:
  5368. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  5369. type: integer
  5370. couponholdid:
  5371. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  5372. type: string
  5373. couponname:
  5374. description: 优惠券名称
  5375. type: string
  5376. coupontypeid:
  5377. description: 优惠券类型ID - SEQ_COUPONTYPE
  5378. type: string
  5379. couponvalue:
  5380. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  5381. type: number
  5382. createtime:
  5383. description: 创建时间
  5384. type: string
  5385. enddate:
  5386. description: 结束日期
  5387. type: string
  5388. giveapplyid:
  5389. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  5390. type: integer
  5391. holdstatus:
  5392. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  5393. type: integer
  5394. isgeneral:
  5395. description: 是否通用券 - 0:否 1:是
  5396. type: integer
  5397. limitedflag:
  5398. description: 是否指定商品 - 0:不限 1:限制
  5399. type: integer
  5400. limitedgoodsids:
  5401. description: 指定商品IDs[逗号分隔]
  5402. type: string
  5403. qty:
  5404. description: 数量(按1平铺)
  5405. type: integer
  5406. startdate:
  5407. description: 开始日期
  5408. type: string
  5409. userid:
  5410. description: 用户ID
  5411. type: integer
  5412. userscope:
  5413. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  5414. type: string
  5415. required:
  5416. - couponholdid
  5417. type: object
  5418. models.MyUsedCoupon:
  5419. properties:
  5420. accountid:
  5421. description: 资金账户ID(买方)
  5422. type: integer
  5423. conditionvalue:
  5424. description: 条件阈值(可为0)
  5425. type: number
  5426. couponcategroy:
  5427. description: 种类 - 1:现金券 2:折扣券
  5428. type: integer
  5429. couponname:
  5430. description: 优惠券名称
  5431. type: string
  5432. coupontypeid:
  5433. description: 优惠券类型ID(买方)
  5434. type: string
  5435. couponvalue:
  5436. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  5437. type: number
  5438. createtime:
  5439. description: 创建时间
  5440. type: string
  5441. goodsid:
  5442. description: 商品ID
  5443. type: integer
  5444. handlestatus:
  5445. description: 处理状态
  5446. type: integer
  5447. marketid:
  5448. description: 市场ID
  5449. type: integer
  5450. offamount:
  5451. description: 优惠金额
  5452. type: number
  5453. orderid:
  5454. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5455. type: string
  5456. sellaccountid:
  5457. description: 资金账户ID(卖方)
  5458. type: integer
  5459. tradeamount:
  5460. description: 成交金额
  5461. type: number
  5462. tradeid:
  5463. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5464. type: string
  5465. usedqty:
  5466. description: 使用数量
  5467. type: integer
  5468. required:
  5469. - coupontypeid
  5470. - orderid
  5471. type: object
  5472. models.OperationPrimaryMenu:
  5473. properties:
  5474. Children:
  5475. description: 二级功能菜单
  5476. items:
  5477. $ref: '#/definitions/models.OperationSecondaryMenu'
  5478. type: array
  5479. Key:
  5480. description: 菜单KEY
  5481. type: string
  5482. Label:
  5483. description: 菜单标题
  5484. type: string
  5485. type: object
  5486. models.OperationSecondaryMenu:
  5487. properties:
  5488. Key:
  5489. description: 菜单KEY
  5490. type: string
  5491. Label:
  5492. description: 菜单标题
  5493. type: string
  5494. TabList:
  5495. description: 三级功能菜单
  5496. items:
  5497. $ref: '#/definitions/models.OperationTabMenu'
  5498. type: array
  5499. type: object
  5500. models.OperationTabMenu:
  5501. properties:
  5502. Key:
  5503. description: 菜单KEY
  5504. type: string
  5505. Label:
  5506. description: 菜单标题
  5507. type: string
  5508. type: object
  5509. models.QuotePrimaryMenu:
  5510. properties:
  5511. Index:
  5512. description: 序号
  5513. type: integer
  5514. Key:
  5515. description: 键名
  5516. type: string
  5517. Name:
  5518. description: 菜单名称
  5519. type: string
  5520. SubMenus:
  5521. description: 子菜单
  5522. items:
  5523. $ref: '#/definitions/models.QuoteSecondaryMenu'
  5524. type: array
  5525. SubTitleType:
  5526. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  5527. type: integer
  5528. TradeModes:
  5529. description: 包含市场交易类型
  5530. type: string
  5531. type: object
  5532. models.QuoteSecondaryMenu:
  5533. properties:
  5534. ExExchangeCode:
  5535. description: 外部交易所代码
  5536. type: string
  5537. ExExchangeID:
  5538. description: 外部交易所ID
  5539. type: integer
  5540. GoodsGroupIDs:
  5541. description: 商品组ID列表
  5542. items:
  5543. type: integer
  5544. type: array
  5545. Index:
  5546. description: 序号
  5547. type: integer
  5548. MarketID:
  5549. description: 市场ID
  5550. type: integer
  5551. MenuTitle:
  5552. description: 菜单标题(市场名称或外部交易所名称)
  5553. type: string
  5554. TradeMode:
  5555. description: 交易模式
  5556. type: integer
  5557. type: object
  5558. models.SearchGoods:
  5559. properties:
  5560. goodscode:
  5561. description: 商品代码(内部)
  5562. type: string
  5563. goodsid:
  5564. description: 商品ID(自增ID SEQ_GOODS)
  5565. type: integer
  5566. goodsname:
  5567. description: 商品名称
  5568. type: string
  5569. marketid:
  5570. description: 所属市场ID
  5571. type: integer
  5572. marketname:
  5573. description: 市场名称
  5574. type: string
  5575. trademode:
  5576. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5577. 21:竞拍-大宗式 22:受托竞价
  5578. type: integer
  5579. required:
  5580. - goodscode
  5581. - goodsid
  5582. - goodsname
  5583. - marketid
  5584. - trademode
  5585. type: object
  5586. models.Szdz2imageconfig:
  5587. properties:
  5588. configid:
  5589. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  5590. type: integer
  5591. imagepath:
  5592. description: 图片
  5593. type: string
  5594. imagetype:
  5595. description: 类型 - 1:App首页轮播 2:我的
  5596. type: integer
  5597. sort:
  5598. description: 排序
  5599. type: integer
  5600. title:
  5601. description: 标题
  5602. type: string
  5603. url:
  5604. description: 链接
  5605. type: string
  5606. required:
  5607. - configid
  5608. type: object
  5609. models.Szdz3convertconfig:
  5610. properties:
  5611. canin:
  5612. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  5613. type: integer
  5614. canout:
  5615. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  5616. type: integer
  5617. converttype:
  5618. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  5619. 6:交易转花生米(不设置)
  5620. type: integer
  5621. createtime:
  5622. description: 创建时间
  5623. type: string
  5624. creatorid:
  5625. description: 创建人
  5626. type: integer
  5627. daymaxvalue:
  5628. description: 当日最大转入限制
  5629. type: number
  5630. freezedays:
  5631. description: 冻结天数 [5:花生米转交易]
  5632. type: integer
  5633. innergoodsid:
  5634. description: 内部商品ID[交易]
  5635. type: integer
  5636. inratio:
  5637. description: 目标值
  5638. type: integer
  5639. modifierid:
  5640. description: 修改人
  5641. type: integer
  5642. modifytime:
  5643. description: 修改时间
  5644. type: string
  5645. outergoodscode:
  5646. description: 外部商品代码[JD\PD]
  5647. type: string
  5648. outratio:
  5649. description: 源值
  5650. type: integer
  5651. pddecimalplace:
  5652. description: PD小数位
  5653. type: integer
  5654. timemaxvalue:
  5655. description: 单次最大转入限制
  5656. type: number
  5657. timeminvalue:
  5658. description: 单次最小转入限制
  5659. type: number
  5660. required:
  5661. - converttype
  5662. - innergoodsid
  5663. - outergoodscode
  5664. type: object
  5665. models.Szdz3searchwhitelist:
  5666. properties:
  5667. createtime:
  5668. description: 创建时间
  5669. type: string
  5670. creatorid:
  5671. description: 创建人
  5672. type: integer
  5673. modifierid:
  5674. description: 修改人
  5675. type: integer
  5676. modifytime:
  5677. description: 修改时间
  5678. type: string
  5679. userid:
  5680. description: 用户ID
  5681. type: integer
  5682. required:
  5683. - userid
  5684. type: object
  5685. models.Tablecolumnconfig:
  5686. properties:
  5687. aligntype:
  5688. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  5689. type: integer
  5690. autoid:
  5691. description: AutoID
  5692. type: integer
  5693. columnfield:
  5694. description: 列字段
  5695. type: string
  5696. columntitle:
  5697. description: 列Title
  5698. type: string
  5699. columnwidth:
  5700. description: 列宽
  5701. type: string
  5702. formatterstring:
  5703. description: 格式化字符
  5704. type: string
  5705. formattertype:
  5706. description: 格式化类型
  5707. type: string
  5708. groupname:
  5709. description: 表头分组名称
  5710. type: string
  5711. isshow:
  5712. description: 是否显示 - 0:不显示 1:显示
  5713. type: integer
  5714. needsummary:
  5715. description: 是否需要汇总 - 0:不需要 1:需要
  5716. type: integer
  5717. orderindex:
  5718. description: 顺序
  5719. type: integer
  5720. remark:
  5721. description: 备注
  5722. type: string
  5723. summarytype:
  5724. description: 汇总类型 - 1:加总 2:最后一个
  5725. type: integer
  5726. tablekey:
  5727. description: 列表Key
  5728. type: string
  5729. required:
  5730. - autoid
  5731. type: object
  5732. models.Useraccount:
  5733. properties:
  5734. accountname:
  5735. description: 账户名称(机构名称)
  5736. type: string
  5737. accountstatus:
  5738. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  5739. type: integer
  5740. auditremark:
  5741. description: 审核备注
  5742. type: string
  5743. audittime:
  5744. description: 审核时间
  5745. type: string
  5746. audituserid:
  5747. description: 审核人
  5748. type: integer
  5749. broker:
  5750. description: 所属经纪人ID
  5751. type: integer
  5752. canceltime:
  5753. description: 销户时间
  5754. type: string
  5755. canceluserid:
  5756. description: 销户人
  5757. type: integer
  5758. createtime:
  5759. description: 创建时间
  5760. type: string
  5761. creatorid:
  5762. description: 创建人
  5763. type: integer
  5764. hasauth:
  5765. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  5766. type: integer
  5767. isanonymous:
  5768. description: 是否匿名下单 - 0:否 1:是
  5769. type: integer
  5770. maxinvestornum:
  5771. description: 最大用户数(经纪会员下投资者个数)
  5772. type: integer
  5773. memberuserid:
  5774. description: 所属会员ID
  5775. type: integer
  5776. modifierid:
  5777. description: 修改人
  5778. type: integer
  5779. modifyremark:
  5780. description: 变更备注
  5781. type: string
  5782. modifystatus:
  5783. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  5784. type: integer
  5785. modifytime:
  5786. description: 修改时间
  5787. type: string
  5788. parentuserid:
  5789. description: 所属机构ID
  5790. type: integer
  5791. reckonaccountid:
  5792. description: 默认结算资金账号ID(机构分润使用) 作废
  5793. type: integer
  5794. refercount:
  5795. description: 推荐总人数
  5796. type: integer
  5797. refereeuserid:
  5798. description: 推荐人ID
  5799. type: integer
  5800. refernum:
  5801. description: 推荐码
  5802. type: string
  5803. subarealevelpath:
  5804. description: 子机构层级路径(逗号分隔,首尾加逗号)
  5805. type: string
  5806. userid:
  5807. description: 用户ID
  5808. type: integer
  5809. usertype:
  5810. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  5811. type: integer
  5812. required:
  5813. - userid
  5814. type: object
  5815. models.Userfavoritegoods:
  5816. properties:
  5817. goodsid:
  5818. description: 商品ID
  5819. type: integer
  5820. required:
  5821. - goodsid
  5822. type: object
  5823. models.Userinfo:
  5824. properties:
  5825. address:
  5826. description: 地址
  5827. type: string
  5828. attachment1:
  5829. description: 附件1
  5830. type: string
  5831. attachment2:
  5832. description: 附件2
  5833. type: string
  5834. bankaccount:
  5835. description: 银行帐号 (加密存储)
  5836. type: string
  5837. bankaccountname:
  5838. description: 收款人名称
  5839. type: string
  5840. bankcardfrontphotourl:
  5841. description: 银行卡正面照地址
  5842. type: string
  5843. bankid:
  5844. description: 银行编码
  5845. type: string
  5846. bankname:
  5847. description: 银行名称
  5848. type: string
  5849. biznature:
  5850. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  5851. type: integer
  5852. bizscope:
  5853. description: 企业经营范围(企业)
  5854. type: string
  5855. cardbackphotourl:
  5856. description: 证件背面图片地址
  5857. type: string
  5858. cardfrontphotourl:
  5859. description: 证件正面图片地址
  5860. type: string
  5861. cardnum:
  5862. description: 证件号码(加密存储)
  5863. type: string
  5864. cardtypeid:
  5865. description: 证件类型ID
  5866. type: integer
  5867. cityid:
  5868. description: 市
  5869. type: integer
  5870. company:
  5871. description: 公司(个人)
  5872. type: string
  5873. contactname:
  5874. description: 联系人
  5875. type: string
  5876. countryid:
  5877. description: 国家
  5878. type: integer
  5879. createtime:
  5880. description: 创建时间
  5881. type: string
  5882. creatorid:
  5883. description: 创建人
  5884. type: integer
  5885. customername:
  5886. description: 客户名称(企业名称)
  5887. type: string
  5888. districtid:
  5889. description: 地区
  5890. type: integer
  5891. email:
  5892. description: 邮件(加密存储)
  5893. type: string
  5894. fax:
  5895. description: 传真(加密存储)
  5896. type: string
  5897. halfbodyphotourl:
  5898. description: 半身照地址
  5899. type: string
  5900. hasencrypt:
  5901. description: 数据是否已加密 - 0:未加密 1:已加密
  5902. type: integer
  5903. headurl:
  5904. description: 头像地址
  5905. type: string
  5906. legalcardbackphotourl:
  5907. description: 法人身份证背面照地址
  5908. type: string
  5909. legalcardfrontphotourl:
  5910. description: 法人身份证正面照地址
  5911. type: string
  5912. legalpersonname:
  5913. description: 法人姓名(企业)
  5914. type: string
  5915. mobile:
  5916. description: 手机号码(加密存储)
  5917. type: string
  5918. mobile2:
  5919. description: 手机号码[明文-尚志]
  5920. type: string
  5921. modifierid:
  5922. description: 修改人
  5923. type: integer
  5924. modifiertime:
  5925. description: 修改时间
  5926. type: string
  5927. needinvoice:
  5928. description: 是否需要发票 - 0:不需要 1:需要
  5929. type: integer
  5930. nickname:
  5931. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  5932. type: string
  5933. openmode:
  5934. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  5935. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  5936. type: integer
  5937. otherurl:
  5938. description: 其它图片地址[使用分号分隔]
  5939. type: string
  5940. postalcode:
  5941. description: 邮政编码
  5942. type: string
  5943. provinceid:
  5944. description: 省
  5945. type: integer
  5946. qq:
  5947. description: QQ(加密存储
  5948. type: string
  5949. remark:
  5950. description: 备注
  5951. type: string
  5952. sex:
  5953. description: '用户性别 0: 女 1: 男'
  5954. type: integer
  5955. signpdfurl:
  5956. description: 签约pdf文件
  5957. type: string
  5958. telphone:
  5959. description: 联系电话(加密存储)
  5960. type: string
  5961. userid:
  5962. description: 用户ID
  5963. type: integer
  5964. userinfotype:
  5965. description: 用户信息类型 - 1:个人 2:企业
  5966. type: integer
  5967. userstatus:
  5968. description: 用户状态 - 1:正常 2:注销
  5969. type: integer
  5970. usertype:
  5971. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  5972. type: integer
  5973. wechat:
  5974. description: 微信(加密存储)
  5975. type: string
  5976. wskhinfo:
  5977. description: 开户申请信息(JSON)
  5978. type: string
  5979. required:
  5980. - userid
  5981. type: object
  5982. models.WRCategoryTree:
  5983. properties:
  5984. areauserid:
  5985. description: 所属机构
  5986. type: integer
  5987. categorydesc:
  5988. description: 类别描述
  5989. type: string
  5990. categoryid:
  5991. description: 类别ID(SEQ_WRCATEGORY)
  5992. type: integer
  5993. categoryname:
  5994. description: 类别名称
  5995. type: string
  5996. iconurl:
  5997. description: 图标地址
  5998. type: string
  5999. orderindex:
  6000. description: 顺序
  6001. type: integer
  6002. parentcategoryid:
  6003. description: 父类别ID
  6004. type: integer
  6005. subcategory:
  6006. description: 子分类
  6007. items:
  6008. $ref: '#/definitions/models.WRCategoryTree'
  6009. type: array
  6010. required:
  6011. - categoryid
  6012. type: object
  6013. models.WRSConverTDetail:
  6014. properties:
  6015. convertratio:
  6016. description: 套保系数
  6017. type: number
  6018. deliverygoodsid:
  6019. description: 现货品种ID
  6020. type: integer
  6021. middlegoodscode:
  6022. description: 套保品种代码
  6023. type: string
  6024. middlegoodsid:
  6025. description: 套保品种ID
  6026. type: integer
  6027. middlegoodsname:
  6028. description: 套保品种名称
  6029. type: string
  6030. modifytime:
  6031. description: 修改时间
  6032. type: string
  6033. wrstandardid:
  6034. description: 现货商品ID
  6035. type: integer
  6036. type: object
  6037. models.WRStandardInfo:
  6038. properties:
  6039. createtime:
  6040. description: 创建时间
  6041. type: string
  6042. creatorid:
  6043. description: 创建人
  6044. type: integer
  6045. deliverygoodsid:
  6046. description: 品种ID
  6047. type: integer
  6048. deliverygoodsname:
  6049. description: 交割商品名称
  6050. type: string
  6051. factoryitemjson:
  6052. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  6053. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  6054. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  6055. 逗号分隔'
  6056. type: string
  6057. isvalid:
  6058. description: 是否有效 - 0:无效 1:有效
  6059. type: integer
  6060. minivalue:
  6061. description: 最小变动值
  6062. type: integer
  6063. minivaluedp:
  6064. description: 最小变动值小数位
  6065. type: integer
  6066. realminivalue:
  6067. description: 实际最小变动值
  6068. type: integer
  6069. realminivaluedp:
  6070. description: 实际最小变动值小数位
  6071. type: integer
  6072. unitid:
  6073. description: 单位ID
  6074. type: integer
  6075. unitname:
  6076. description: 单位
  6077. type: string
  6078. updatetime:
  6079. description: 更新时间
  6080. type: string
  6081. updatorid:
  6082. description: 更新人
  6083. type: integer
  6084. wrsstatus:
  6085. description: 状态 - 作废 - 0:未激活 1:正常
  6086. type: integer
  6087. wrstandardcode:
  6088. description: 仓单标准代码
  6089. type: string
  6090. wrstandardid:
  6091. description: 仓单标准ID(SEQ_WRSTANDARD)
  6092. type: integer
  6093. wrstandardname:
  6094. description: 仓单标准名称
  6095. type: string
  6096. required:
  6097. - wrstandardid
  6098. type: object
  6099. models.Warehouseinfo:
  6100. properties:
  6101. address:
  6102. description: 详细地址
  6103. type: string
  6104. areauserid:
  6105. description: 所属机构
  6106. type: integer
  6107. autoid:
  6108. description: 自增ID
  6109. type: integer
  6110. cityid:
  6111. description: 市
  6112. type: integer
  6113. contactname:
  6114. description: 联系人
  6115. type: string
  6116. contactnum:
  6117. description: 联系电话
  6118. type: string
  6119. countryid:
  6120. description: 国家
  6121. type: integer
  6122. createtime:
  6123. description: 创建时间
  6124. type: string
  6125. districtid:
  6126. description: 区
  6127. type: integer
  6128. hasvideo:
  6129. description: 是否有视频 - 0:无 1:有
  6130. type: integer
  6131. provinceid:
  6132. description: 省
  6133. type: integer
  6134. remark:
  6135. description: 审核备注
  6136. type: string
  6137. videourl:
  6138. description: 视频地址
  6139. type: string
  6140. warehousecode:
  6141. description: 仓库代码
  6142. type: string
  6143. warehousename:
  6144. description: 仓库名称
  6145. type: string
  6146. warehousestatus:
  6147. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  6148. type: integer
  6149. warehousetype:
  6150. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  6151. type: integer
  6152. required:
  6153. - autoid
  6154. - warehousecode
  6155. type: object
  6156. order.QueryHisTradeDetailRsp:
  6157. properties:
  6158. accountid:
  6159. description: 账户ID[报价币种]
  6160. type: integer
  6161. buildtype:
  6162. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  6163. type: integer
  6164. buyorsell:
  6165. description: 方向 - 0:买 1:卖
  6166. type: integer
  6167. charge:
  6168. description: 手续费
  6169. type: number
  6170. closecharge:
  6171. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  6172. type: number
  6173. closeexchagechargevalue:
  6174. description: 平仓交易所手续费设置值
  6175. type: number
  6176. closefeealgorithm:
  6177. description: 平仓手续费收取方式 1:比率 2:固定
  6178. type: integer
  6179. closememberchargevalue:
  6180. description: 平仓会员手续费设置值
  6181. type: number
  6182. closepl:
  6183. description: 平仓盈亏
  6184. type: number
  6185. closepl2:
  6186. description: 平仓盈亏[逐笔]
  6187. type: number
  6188. closeqty:
  6189. description: 平仓数量(先建后平操作 需要记录)
  6190. type: integer
  6191. creditamount:
  6192. description: 授信金额
  6193. type: number
  6194. gcaccountid:
  6195. description: 账户ID[合约币种]
  6196. type: integer
  6197. goodscode:
  6198. description: 商品代码
  6199. type: string
  6200. goodsid:
  6201. description: 商品ID
  6202. type: integer
  6203. goodsname:
  6204. description: 商品名称
  6205. type: string
  6206. histradedate:
  6207. description: 历史交易日
  6208. type: string
  6209. intclosepl:
  6210. description: 整型盈亏(用于交易结算试算平衡-收益权)
  6211. type: integer
  6212. isconfirmexercise:
  6213. description: 是否确认行权- 0:否 1:是
  6214. type: integer
  6215. ismain:
  6216. description: 是否主单 - 0:不是 1:是
  6217. type: integer
  6218. ispreexercise:
  6219. description: 是否预申报- 0:否 1:是
  6220. type: integer
  6221. isreckoned:
  6222. description: 是否结算 - 0:未结算 1:已结算
  6223. type: integer
  6224. isvaliddata:
  6225. description: 是否有效 - 0:无效 1:有效
  6226. type: integer
  6227. listingselecttype:
  6228. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  6229. type: integer
  6230. marketid:
  6231. description: 市场ID
  6232. type: integer
  6233. marketname:
  6234. description: 市场名称
  6235. type: string
  6236. matchaccountid:
  6237. description: 对手账号id
  6238. type: integer
  6239. memberuserid:
  6240. description: 会员id 个人投资者 需要填写
  6241. type: integer
  6242. opencharge:
  6243. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  6244. type: number
  6245. openexchagechargevalue:
  6246. description: 建仓交易所手续费设置值
  6247. type: number
  6248. openfeealgorithm:
  6249. description: 建仓手续费收取方式 1:比率 2:固定
  6250. type: integer
  6251. openmemberchargevalue:
  6252. description: 建仓会员手续费设置值
  6253. type: number
  6254. openqty:
  6255. description: 开仓数量(先建后平操作 需要记录)
  6256. type: integer
  6257. optiontype:
  6258. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  6259. type: integer
  6260. orderid:
  6261. description: 委托单号
  6262. type: string
  6263. performanceplanid:
  6264. description: 履约计划ID[期权]
  6265. type: integer
  6266. performancestatus:
  6267. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  6268. type: integer
  6269. preexerciseprice:
  6270. description: 预申报价格
  6271. type: number
  6272. premium:
  6273. description: 权利金 - [持仓单的权利金]
  6274. type: number
  6275. relatedouttradeid:
  6276. description: 关联外部成交单ID
  6277. type: integer
  6278. status:
  6279. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  6280. type: integer
  6281. tradeamount:
  6282. description: 成交金额[账户币种,用于所有权]
  6283. type: number
  6284. tradedate:
  6285. description: 交易日(yyyyMMdd)
  6286. type: string
  6287. tradeid:
  6288. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6289. type: string
  6290. trademode:
  6291. description: 交易模式
  6292. type: integer
  6293. tradeprice:
  6294. description: 成交价格
  6295. type: number
  6296. tradeproperty:
  6297. description: 交易属性
  6298. type: integer
  6299. tradeqty:
  6300. description: 成交数量
  6301. type: integer
  6302. tradetime:
  6303. description: 成交时间
  6304. type: string
  6305. tradetype:
  6306. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  6307. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  6308. type: integer
  6309. required:
  6310. - accountid
  6311. - buyorsell
  6312. - goodsid
  6313. - histradedate
  6314. - marketid
  6315. - memberuserid
  6316. - orderid
  6317. - tradeamount
  6318. - tradedate
  6319. - tradeid
  6320. - tradeprice
  6321. - tradeqty
  6322. - tradetime
  6323. type: object
  6324. order.QueryHisTradeOrderDetailRsp:
  6325. properties:
  6326. accountid:
  6327. description: 账户ID[报价币种]
  6328. type: integer
  6329. buildtype:
  6330. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  6331. type: integer
  6332. buyorsell:
  6333. description: 买卖 - 0:买 1:卖
  6334. type: integer
  6335. cancelorderid:
  6336. description: 撤单单号(撤单时填写)
  6337. type: string
  6338. cancelqty:
  6339. description: 撤单数量
  6340. type: integer
  6341. clientordertime:
  6342. description: 客户端委托时间
  6343. type: string
  6344. clientticket:
  6345. description: 客户端流水号
  6346. type: string
  6347. clienttype:
  6348. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  6349. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  6350. type: integer
  6351. closeexchagechargevalue:
  6352. description: 平仓交易所手续费设置值
  6353. type: number
  6354. closefeealgorithm:
  6355. description: 平仓手续费收取方式 1:比率 2:固定
  6356. type: integer
  6357. closefreezecharge:
  6358. description: 平仓冻结手续费(先建后平操作,需要记录)
  6359. type: number
  6360. closememberchargevalue:
  6361. description: 平仓会员手续费设置值
  6362. type: number
  6363. closeqty:
  6364. description: 平仓数量(先建后平操作 需要记录)
  6365. type: integer
  6366. closetradeqty:
  6367. description: 平仓成交数量(先建后平操作,需要记录)
  6368. type: integer
  6369. closeunfreezecharge:
  6370. description: 平仓解冻手续费(先建后平操作,需要记录)
  6371. type: number
  6372. delistingtype:
  6373. description: 摘牌类型 - 1:价格最优 2:点选成交
  6374. type: integer
  6375. freezecharge:
  6376. description: 冻结手续费
  6377. type: number
  6378. freezemargin:
  6379. description: 冻结保证金(冻结交易金额)
  6380. type: number
  6381. gcaccountid:
  6382. description: 账户ID[合约币种]
  6383. type: integer
  6384. goodscode:
  6385. description: 商品代码
  6386. type: string
  6387. goodsid:
  6388. description: 商品ID
  6389. type: integer
  6390. goodsname:
  6391. description: 商品名称
  6392. type: string
  6393. histradedate:
  6394. description: 历史交易日
  6395. type: string
  6396. isconfirmexercise:
  6397. description: 是否确认行权- 0:否 1:是
  6398. type: integer
  6399. ispreexercise:
  6400. description: 是否预申报- 0:否 1:是
  6401. type: integer
  6402. isvaliddata:
  6403. description: 是否有效 - 0:无效 1:有效
  6404. type: integer
  6405. listingselecttype:
  6406. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  6407. type: integer
  6408. marginalgorithm:
  6409. description: 保证金收取方式 1:比率 2:固定
  6410. type: integer
  6411. marginvalue:
  6412. description: 即市保证金设置值
  6413. type: number
  6414. marketid:
  6415. description: 市场ID
  6416. type: integer
  6417. marketmaxsub:
  6418. description: 市价最大偏移范围
  6419. type: number
  6420. marketname:
  6421. description: 市场名称
  6422. type: string
  6423. memberuserid:
  6424. description: 所属会员UserID
  6425. type: integer
  6426. openexchagechargevalue:
  6427. description: 建仓交易所手续费设置值
  6428. type: number
  6429. openfeealgorithm:
  6430. description: 建仓手续费收取方式 1:比率 2:固定
  6431. type: integer
  6432. openfreezecharge:
  6433. description: 开仓冻结手续费(先建后平操作,需要记录)
  6434. type: number
  6435. openmemberchargevalue:
  6436. description: 建仓会员手续费设置值
  6437. type: number
  6438. openqty:
  6439. description: 开仓数量(先建后平操作,需要记录)
  6440. type: integer
  6441. opentradeqty:
  6442. description: 开仓成交数量(先建后平操作,需要记录)
  6443. type: integer
  6444. openunfreezecharge:
  6445. description: 开仓解冻手续费(先建后平操作,需要记录)
  6446. type: number
  6447. operatetype:
  6448. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  6449. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  6450. 15:管理端协议转让
  6451. type: integer
  6452. operatorid:
  6453. description: 登录账号(LoginID)
  6454. type: integer
  6455. optiontype:
  6456. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  6457. type: integer
  6458. orderid:
  6459. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6460. type: string
  6461. orderprice:
  6462. description: 委托价格
  6463. type: number
  6464. orderqty:
  6465. description: 委托数量
  6466. type: integer
  6467. ordersrc:
  6468. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  6469. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  6470. type: integer
  6471. orderstatus:
  6472. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6473. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6474. 16:成交失败违约(荷兰式竞拍专用)
  6475. type: integer
  6476. ordertime:
  6477. description: 委托时间
  6478. type: string
  6479. preexerciseprice:
  6480. description: 预申报价格
  6481. type: number
  6482. premium:
  6483. description: 权利金
  6484. type: number
  6485. preorderid:
  6486. description: 关联预埋单号(止盈止损单时填写)
  6487. type: string
  6488. pricemode:
  6489. description: '取价方式 - 1:市价 2: 限价'
  6490. type: integer
  6491. quoteid:
  6492. description: 报价单ID
  6493. type: integer
  6494. relatedid:
  6495. description: 关联单号(交割单)
  6496. type: string
  6497. retcode:
  6498. description: 错误代码
  6499. type: integer
  6500. sessionid:
  6501. description: 会话ID
  6502. type: integer
  6503. tradedate:
  6504. description: 交易日(yyyyMMdd)
  6505. type: string
  6506. trademode:
  6507. description: 交易模式
  6508. type: integer
  6509. tradeproperty:
  6510. description: 交易属性
  6511. type: integer
  6512. tradeqty:
  6513. description: 成交数量
  6514. type: integer
  6515. unfreezecharge:
  6516. description: 解冻手续费
  6517. type: number
  6518. unfreezemargin:
  6519. description: 解冻保证金
  6520. type: number
  6521. updatetime:
  6522. description: 更新时间
  6523. type: string
  6524. uuid:
  6525. description: 发起端唯一id
  6526. type: string
  6527. validtime:
  6528. description: 有效期限
  6529. type: string
  6530. validtype:
  6531. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  6532. type: integer
  6533. volumetype:
  6534. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  6535. type: integer
  6536. required:
  6537. - accountid
  6538. - buildtype
  6539. - buyorsell
  6540. - goodsid
  6541. - histradedate
  6542. - marketid
  6543. - memberuserid
  6544. - operatetype
  6545. - orderid
  6546. - orderqty
  6547. - ordertime
  6548. - pricemode
  6549. - tradedate
  6550. - validtype
  6551. type: object
  6552. order.QueryTradeDetailRsp:
  6553. properties:
  6554. accountid:
  6555. description: 账户ID[报价币种]
  6556. type: integer
  6557. buildtype:
  6558. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  6559. type: integer
  6560. buyorsell:
  6561. description: 方向 - 0:买 1:卖
  6562. type: integer
  6563. charge:
  6564. description: 手续费
  6565. type: number
  6566. closecharge:
  6567. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  6568. type: number
  6569. closeexchagechargevalue:
  6570. description: 平仓交易所手续费设置值
  6571. type: number
  6572. closefeealgorithm:
  6573. description: 平仓手续费收取方式 1:比率 2:固定
  6574. type: integer
  6575. closememberchargevalue:
  6576. description: 平仓会员手续费设置值
  6577. type: number
  6578. closepl:
  6579. description: 平仓盈亏
  6580. type: number
  6581. closepl2:
  6582. description: 平仓盈亏[逐笔]
  6583. type: number
  6584. closeqty:
  6585. description: 平仓数量(先建后平操作 需要记录)
  6586. type: integer
  6587. creditamount:
  6588. description: 授信金额
  6589. type: number
  6590. gcaccountid:
  6591. description: 账户ID[合约币种]
  6592. type: integer
  6593. goodscode:
  6594. description: 商品代码
  6595. type: string
  6596. goodsid:
  6597. description: 商品ID
  6598. type: integer
  6599. goodsname:
  6600. description: 商品名称
  6601. type: string
  6602. intclosepl:
  6603. description: 整型盈亏(用于交易结算试算平衡-收益权)
  6604. type: integer
  6605. isconfirmexercise:
  6606. description: 是否确认行权- 0:否 1:是
  6607. type: integer
  6608. ismain:
  6609. description: 是否主单 - 0:不是 1:是
  6610. type: integer
  6611. ispreexercise:
  6612. description: 是否预申报- 0:否 1:是
  6613. type: integer
  6614. isreckoned:
  6615. description: 是否结算 - 0:未结算 1:已结算
  6616. type: integer
  6617. listingselecttype:
  6618. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  6619. type: integer
  6620. marketid:
  6621. description: 市场ID
  6622. type: integer
  6623. marketname:
  6624. description: 市场名称
  6625. type: string
  6626. matchaccountid:
  6627. description: 对手账号id
  6628. type: integer
  6629. memberuserid:
  6630. description: 会员id 个人投资者 需要填写
  6631. type: integer
  6632. opencharge:
  6633. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  6634. type: number
  6635. openexchagechargevalue:
  6636. description: 建仓交易所手续费设置值
  6637. type: number
  6638. openfeealgorithm:
  6639. description: 建仓手续费收取方式 1:比率 2:固定
  6640. type: integer
  6641. openmemberchargevalue:
  6642. description: 建仓会员手续费设置值
  6643. type: number
  6644. openqty:
  6645. description: 开仓数量(先建后平操作 需要记录)
  6646. type: integer
  6647. optiontype:
  6648. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  6649. type: integer
  6650. orderid:
  6651. description: 委托单号
  6652. type: string
  6653. performanceplanid:
  6654. description: 履约计划ID[期权]
  6655. type: integer
  6656. performancestatus:
  6657. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  6658. type: integer
  6659. preexerciseprice:
  6660. description: 预申报价格
  6661. type: number
  6662. premium:
  6663. description: 权利金 - [持仓单的权利金]
  6664. type: number
  6665. relatedouttradeid:
  6666. description: 关联外部成交单ID
  6667. type: integer
  6668. status:
  6669. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  6670. type: integer
  6671. tradeamount:
  6672. description: 成交金额[账户币种,用于所有权]
  6673. type: number
  6674. tradedate:
  6675. description: 交易日(yyyyMMdd)
  6676. type: string
  6677. tradeid:
  6678. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6679. type: string
  6680. trademode:
  6681. description: 交易模式
  6682. type: integer
  6683. tradeprice:
  6684. description: 成交价格
  6685. type: number
  6686. tradeproperty:
  6687. description: 交易属性
  6688. type: integer
  6689. tradeqty:
  6690. description: 成交数量
  6691. type: integer
  6692. tradetime:
  6693. description: 成交时间
  6694. type: string
  6695. tradetype:
  6696. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  6697. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  6698. type: integer
  6699. required:
  6700. - accountid
  6701. - buyorsell
  6702. - goodsid
  6703. - marketid
  6704. - memberuserid
  6705. - orderid
  6706. - tradeamount
  6707. - tradedate
  6708. - tradeid
  6709. - tradeprice
  6710. - tradeqty
  6711. - tradetime
  6712. type: object
  6713. order.QueryTradeOrderDetailRsp:
  6714. properties:
  6715. accountid:
  6716. description: 账户ID[报价币种]
  6717. type: integer
  6718. buildtype:
  6719. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  6720. type: integer
  6721. buyorsell:
  6722. description: 买卖 - 0:买 1:卖
  6723. type: integer
  6724. cancelorderid:
  6725. description: 撤单单号(撤单时填写)
  6726. type: string
  6727. cancelqty:
  6728. description: 撤单数量
  6729. type: integer
  6730. clienttype:
  6731. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  6732. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  6733. type: integer
  6734. closefreezecharge:
  6735. description: 平仓冻结手续费(先建后平操作,需要记录)
  6736. type: number
  6737. closeqty:
  6738. description: 平仓数量(先建后平操作 需要记录)
  6739. type: integer
  6740. closetradeqty:
  6741. description: 平仓成交数量(先建后平操作,需要记录)
  6742. type: integer
  6743. closeunfreezecharge:
  6744. description: 平仓解冻手续费(先建后平操作,需要记录)
  6745. type: number
  6746. delistingtype:
  6747. description: 摘牌类型 - 1:价格最优 2:点选成交
  6748. type: integer
  6749. enableqty:
  6750. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  6751. type: integer
  6752. freezecharge:
  6753. description: 冻结手续费
  6754. type: number
  6755. freezemargin:
  6756. description: 冻结保证金(冻结交易金额)
  6757. type: number
  6758. goodscode:
  6759. description: 商品代码
  6760. type: string
  6761. goodsid:
  6762. description: 商品ID
  6763. type: integer
  6764. goodsname:
  6765. description: 商品名称
  6766. type: string
  6767. listingselecttype:
  6768. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  6769. type: integer
  6770. marketid:
  6771. description: 市场ID
  6772. type: integer
  6773. marketname:
  6774. description: 市场名称
  6775. type: string
  6776. openfreezecharge:
  6777. description: 开仓冻结手续费(先建后平操作,需要记录)
  6778. type: number
  6779. openqty:
  6780. description: 开仓数量(先建后平操作,需要记录)
  6781. type: integer
  6782. opentradeqty:
  6783. description: 开仓成交数量(先建后平操作,需要记录)
  6784. type: integer
  6785. openunfreezecharge:
  6786. description: 开仓解冻手续费(先建后平操作,需要记录)
  6787. type: number
  6788. operatetype:
  6789. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  6790. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  6791. 15:管理端协议转让
  6792. type: integer
  6793. operatorid:
  6794. description: 登录账号(LoginID)
  6795. type: integer
  6796. orderid:
  6797. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6798. type: string
  6799. orderprice:
  6800. description: 委托价格
  6801. type: number
  6802. orderqty:
  6803. description: 委托数量
  6804. type: integer
  6805. ordersrc:
  6806. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  6807. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  6808. type: integer
  6809. orderstatus:
  6810. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6811. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6812. 16:成交失败违约(荷兰式竞拍专用)
  6813. type: integer
  6814. ordertime:
  6815. description: 委托时间
  6816. type: string
  6817. preorderid:
  6818. description: 关联预埋单号(止盈止损单时填写)
  6819. type: string
  6820. pricemode:
  6821. description: '取价方式 - 1:市价 2: 限价'
  6822. type: integer
  6823. relatedid:
  6824. description: 关联单号(交割单)
  6825. type: string
  6826. tradedate:
  6827. description: 交易日(yyyyMMdd)
  6828. type: string
  6829. trademode:
  6830. description: 交易模式
  6831. type: integer
  6832. tradeqty:
  6833. description: 成交数量
  6834. type: integer
  6835. unfreezecharge:
  6836. description: 解冻手续费
  6837. type: number
  6838. unfreezemargin:
  6839. description: 解冻保证金
  6840. type: number
  6841. validtime:
  6842. description: 有效期限
  6843. type: string
  6844. validtype:
  6845. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  6846. type: integer
  6847. volumetype:
  6848. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  6849. type: integer
  6850. required:
  6851. - accountid
  6852. - buildtype
  6853. - buyorsell
  6854. - goodsid
  6855. - marketid
  6856. - operatetype
  6857. - orderqty
  6858. - ordertime
  6859. - pricemode
  6860. - tradedate
  6861. - validtype
  6862. type: object
  6863. order.QueryTradePositionRsp:
  6864. properties:
  6865. accountid:
  6866. description: 资金账户
  6867. type: integer
  6868. agreeunit:
  6869. description: 合约单位
  6870. type: number
  6871. averageprice:
  6872. description: 持仓均价
  6873. type: number
  6874. buyorsell:
  6875. description: 方向 - 0:买 1:卖
  6876. type: integer
  6877. closetotalqty:
  6878. description: 平仓总数量
  6879. type: integer
  6880. curholderamount:
  6881. description: 当前持仓总金额[商品币种]
  6882. type: number
  6883. curpositionqty:
  6884. description: 当前持仓总数量
  6885. type: integer
  6886. currencyid:
  6887. description: 报价货币ID
  6888. type: integer
  6889. curtdposition:
  6890. description: 期末今日头寸
  6891. type: integer
  6892. decimalplace:
  6893. description: 报价小数位
  6894. type: integer
  6895. enableqty:
  6896. description: 可用量
  6897. type: integer
  6898. fretdposition:
  6899. description: 冻结今日头寸
  6900. type: integer
  6901. frozenqty:
  6902. description: 持仓冻结数量
  6903. type: integer
  6904. goodscode:
  6905. description: 商品代码
  6906. type: string
  6907. goodsid:
  6908. description: 商品Id
  6909. type: integer
  6910. goodsname:
  6911. description: 商品名称
  6912. type: string
  6913. goodunit:
  6914. description: 报价单位
  6915. type: string
  6916. goodunitid:
  6917. description: 报价单位ID
  6918. type: integer
  6919. holderamount:
  6920. description: 期初持仓总金额[商品币种]
  6921. type: number
  6922. marketid:
  6923. description: 所属市场ID
  6924. type: integer
  6925. openreqqty:
  6926. description: 开仓申请数量(用于比较最大持仓数量)
  6927. type: integer
  6928. opentotalqty:
  6929. description: 开仓总数量
  6930. type: integer
  6931. otherfrozenqty:
  6932. description: 持仓其他冻结数量(交割冻结)
  6933. type: integer
  6934. positionqty:
  6935. description: 期初持仓数量
  6936. type: integer
  6937. tnqty:
  6938. description: T+N冻结总量
  6939. type: integer
  6940. tnusedqty:
  6941. description: T+N使用量(可以使用T+N的冻结数量)
  6942. type: integer
  6943. trademode:
  6944. description: 交易模式
  6945. type: integer
  6946. usedmargin:
  6947. description: 占用保证金[商品币种]
  6948. type: number
  6949. required:
  6950. - goodsid
  6951. type: object
  6952. quote.HistoryData:
  6953. properties:
  6954. c:
  6955. description: 收盘价
  6956. type: number
  6957. h:
  6958. description: 最高价
  6959. type: number
  6960. hv:
  6961. description: 持仓量
  6962. type: integer
  6963. l:
  6964. description: 最低价
  6965. type: number
  6966. o:
  6967. description: 开盘价
  6968. type: number
  6969. s:
  6970. description: 结算价,日线周期(包括)以上才有
  6971. type: number
  6972. ts:
  6973. description: 时间
  6974. type: string
  6975. tt:
  6976. description: 总金额
  6977. type: number
  6978. tv:
  6979. description: 总量
  6980. type: integer
  6981. type: object
  6982. quote.QueryTSDataRsp:
  6983. properties:
  6984. decimalPlace:
  6985. description: 小数位
  6986. type: integer
  6987. endTime:
  6988. description: 结束时间
  6989. type: string
  6990. goodsCode:
  6991. description: 商品代码
  6992. type: string
  6993. historyDatas:
  6994. description: 历史数据
  6995. items:
  6996. $ref: '#/definitions/quote.HistoryData'
  6997. type: array
  6998. preSettle:
  6999. description: 昨结
  7000. type: number
  7001. startTime:
  7002. description: 开始时间
  7003. type: string
  7004. tradeDate:
  7005. description: 交易日
  7006. type: string
  7007. type: object
  7008. szdz.QueryConvertLogRsp:
  7009. properties:
  7010. accountid:
  7011. description: 资金账户ID
  7012. type: integer
  7013. clientticket:
  7014. description: 客户端流水号
  7015. type: string
  7016. converttype:
  7017. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  7018. type: integer
  7019. createtime:
  7020. description: 记账时间
  7021. type: string
  7022. daymaxvalue:
  7023. description: 配置当日最大转入限制
  7024. type: number
  7025. daymaxvalue2:
  7026. description: 配置当日最大转入限制(转入)
  7027. type: number
  7028. goodscode:
  7029. description: 商品代码
  7030. type: string
  7031. goodsname:
  7032. description: 商品名称
  7033. type: string
  7034. handlestatus:
  7035. description: 处理状态
  7036. type: integer
  7037. innergoodsid:
  7038. description: 内部商品ID
  7039. type: integer
  7040. inratio:
  7041. description: 配置转入比值
  7042. type: integer
  7043. invalue:
  7044. description: 目标值
  7045. type: number
  7046. logid:
  7047. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7048. type: integer
  7049. mobile:
  7050. description: 手机号码(加密存储)
  7051. type: string
  7052. outergoodscode:
  7053. description: 外部商品代码[JD\PD]
  7054. type: string
  7055. outratio:
  7056. description: 配置转出比值
  7057. type: integer
  7058. outvalue:
  7059. description: 源值
  7060. type: number
  7061. pddecimalplace:
  7062. description: PD小数位
  7063. type: integer
  7064. qty:
  7065. description: 数量
  7066. type: string
  7067. remark:
  7068. description: 备注
  7069. type: string
  7070. sessionid:
  7071. description: 会话ID
  7072. type: integer
  7073. timemaxvalue:
  7074. description: 配置单次最大转入限制
  7075. type: number
  7076. timemaxvalue2:
  7077. description: 配置单次最大转入限制(转入)
  7078. type: number
  7079. timeminvalue:
  7080. description: 配置单次最小数量限制
  7081. type: number
  7082. timeminvalue2:
  7083. description: 配置单次最小数量限制(转入)
  7084. type: number
  7085. tradedate:
  7086. description: 交易日(yyyyMMdd)
  7087. type: string
  7088. userid:
  7089. description: 用户ID
  7090. type: integer
  7091. required:
  7092. - logid
  7093. type: object
  7094. szdz.QueryGoodsPickupRsp:
  7095. properties:
  7096. accountid:
  7097. description: 账户ID
  7098. type: integer
  7099. address:
  7100. description: 提货人详细地址
  7101. type: string
  7102. auditer:
  7103. description: 审核人
  7104. type: integer
  7105. audittime:
  7106. description: 审核时间
  7107. type: string
  7108. cardnum:
  7109. description: 提货人证件号码
  7110. type: string
  7111. cardtypeid:
  7112. description: 提货人证件类型
  7113. type: integer
  7114. checkremark:
  7115. description: 审核备注
  7116. type: string
  7117. goodscode:
  7118. description: 商品代码
  7119. type: string
  7120. goodsid:
  7121. description: 商品ID
  7122. type: integer
  7123. goodsname:
  7124. description: 商品名称
  7125. type: string
  7126. handlestatus:
  7127. description: 处理状态
  7128. type: integer
  7129. marketid:
  7130. description: 市场ID
  7131. type: integer
  7132. phonenum:
  7133. description: 提货人联系方式
  7134. type: string
  7135. qty:
  7136. description: 提货数量
  7137. type: number
  7138. recivername:
  7139. description: 提货人姓名
  7140. type: string
  7141. reqtime:
  7142. description: 更新时间
  7143. type: string
  7144. takemode:
  7145. description: 提货方式 - 2:自提 3:配送
  7146. type: integer
  7147. takeorderid:
  7148. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  7149. type: string
  7150. takeorderstatus:
  7151. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7152. type: integer
  7153. takeremark:
  7154. description: 提货备注
  7155. type: string
  7156. tradedate:
  7157. description: 交易日(yyyyMMdd)
  7158. type: string
  7159. userid:
  7160. description: 用户ID
  7161. type: integer
  7162. required:
  7163. - takeorderid
  7164. type: object
  7165. szdz.QueryRecieptOrderRsp:
  7166. properties:
  7167. accountName:
  7168. description: 所属账号名称(已脱敏)
  7169. type: string
  7170. accountid:
  7171. description: 资金账号
  7172. type: integer
  7173. buyorsell:
  7174. description: 方向 - 0:买 1:卖
  7175. type: integer
  7176. enableqty:
  7177. description: 可摘数量
  7178. type: integer
  7179. goodscode:
  7180. description: 商品代码
  7181. type: string
  7182. goodsid:
  7183. description: 商品ID
  7184. type: integer
  7185. goodsname:
  7186. description: 商品名称
  7187. type: string
  7188. orderid:
  7189. description: 委托单号
  7190. type: string
  7191. orderprice:
  7192. description: 委托价格
  7193. type: number
  7194. ordertime:
  7195. description: 委托时间
  7196. type: string
  7197. tradedate:
  7198. description: 交易日(yyyyMMdd)
  7199. type: string
  7200. required:
  7201. - ordertime
  7202. type: object
  7203. szdz.QuerySZDZTradePositionRsp:
  7204. properties:
  7205. accountid:
  7206. description: 账号Id
  7207. type: integer
  7208. agreeunit:
  7209. description: 合约单位
  7210. type: number
  7211. averageprice:
  7212. description: 持仓均价
  7213. type: number
  7214. buyorsell:
  7215. description: 方向 - 0:买 1:卖
  7216. type: integer
  7217. closetotalqty:
  7218. description: 平仓总数量
  7219. type: integer
  7220. curholderamount:
  7221. description: 当前持仓总金额
  7222. type: number
  7223. curpositionqty:
  7224. description: 当前持仓总数量
  7225. type: integer
  7226. currencyid:
  7227. description: 报价货币ID
  7228. type: integer
  7229. curtdposition:
  7230. description: 期末今日头寸
  7231. type: integer
  7232. decimalplace:
  7233. description: 报价小数位
  7234. type: integer
  7235. enableqty:
  7236. description: 可用量
  7237. type: integer
  7238. fretdposition:
  7239. description: 冻结今日头寸
  7240. type: integer
  7241. frozenqty:
  7242. description: 持仓冻结数量
  7243. type: integer
  7244. goodscode:
  7245. description: 商品代码(内部)
  7246. type: string
  7247. goodsid:
  7248. description: 商品Id
  7249. type: integer
  7250. goodsname:
  7251. description: 商品名称
  7252. type: string
  7253. goodunit:
  7254. description: 报价单位
  7255. type: string
  7256. goodunitid:
  7257. description: 报价单位ID
  7258. type: integer
  7259. holderamount:
  7260. description: 期初持仓总金额
  7261. type: number
  7262. marketid:
  7263. description: 市场ID
  7264. type: integer
  7265. openreqqty:
  7266. description: 开仓申请数量
  7267. type: integer
  7268. opentotalqty:
  7269. description: 开仓总数量
  7270. type: integer
  7271. otherfrozenqty:
  7272. description: 持仓其他冻结数量(交割冻结)
  7273. type: integer
  7274. positionqty:
  7275. description: 期初持仓数量
  7276. type: integer
  7277. szdz3freezqty:
  7278. description: 尚志大宗转换冻结总数量
  7279. type: integer
  7280. tnqty:
  7281. description: T+N冻结总量
  7282. type: integer
  7283. tnusedqty:
  7284. description: T+N使用量
  7285. type: integer
  7286. trademode:
  7287. description: 交易模式
  7288. type: integer
  7289. usedmargin:
  7290. description: 占用保证金
  7291. type: number
  7292. type: object
  7293. taaccount.QueryAmountLogRsp:
  7294. properties:
  7295. OPERATETYPENAME:
  7296. description: 资金操作类型名称
  7297. type: string
  7298. accountid:
  7299. description: 资金账户ID
  7300. type: integer
  7301. agoodscode:
  7302. description: 竞拍商品代码
  7303. type: string
  7304. agoodsname:
  7305. description: 竞拍商品名称
  7306. type: string
  7307. amount:
  7308. description: 资金金额
  7309. type: number
  7310. amountadjusttype:
  7311. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  7312. type: integer
  7313. autoid:
  7314. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  7315. type: integer
  7316. balance:
  7317. description: 期初余额
  7318. type: number
  7319. businesscode:
  7320. description: 业务编号
  7321. type: integer
  7322. createtime:
  7323. description: 发生时间
  7324. type: string
  7325. currencyid:
  7326. description: 币种ID
  7327. type: integer
  7328. currentbalance:
  7329. description: 期末余额(变动后金额)
  7330. type: number
  7331. dgoodscode:
  7332. description: 交割商品代码
  7333. type: string
  7334. dgoodsname:
  7335. description: 交割商品名称
  7336. type: string
  7337. goodscode:
  7338. description: 商品代码
  7339. type: string
  7340. goodsid:
  7341. description: 商品ID
  7342. type: integer
  7343. goodsname:
  7344. description: 商品名称
  7345. type: string
  7346. marketid:
  7347. description: 市场ID
  7348. type: integer
  7349. marketname:
  7350. description: 市场名称
  7351. type: string
  7352. moneyticket:
  7353. description: 资金流水号:银行端流水号
  7354. type: integer
  7355. operatetype:
  7356. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  7357. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  7358. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  7359. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  7360. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  7361. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  7362. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  7363. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  7364. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  7365. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  7366. type: integer
  7367. relationorderid:
  7368. description: 关联单号
  7369. type: string
  7370. remark:
  7371. description: 备注
  7372. type: string
  7373. trademode:
  7374. description: 交易模式
  7375. type: integer
  7376. required:
  7377. - accountid
  7378. - amount
  7379. - amountadjusttype
  7380. - autoid
  7381. - balance
  7382. - createtime
  7383. - currentbalance
  7384. - operatetype
  7385. type: object
  7386. taaccount.QueryHisAmountLogRsp:
  7387. properties:
  7388. OPERATETYPENAME:
  7389. description: 资金操作类型名称
  7390. type: string
  7391. accountid:
  7392. description: 资金账户ID
  7393. type: integer
  7394. agoodscode:
  7395. description: 竞拍商品代码
  7396. type: string
  7397. agoodsname:
  7398. description: 竞拍商品名称
  7399. type: string
  7400. amount:
  7401. description: 资金金额
  7402. type: number
  7403. amountadjusttype:
  7404. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  7405. type: integer
  7406. autoid:
  7407. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  7408. type: integer
  7409. balance:
  7410. description: 期初余额
  7411. type: number
  7412. businesscode:
  7413. description: 业务编号
  7414. type: integer
  7415. createtime:
  7416. description: 发生时间
  7417. type: string
  7418. currencyid:
  7419. description: 币种ID
  7420. type: integer
  7421. currentbalance:
  7422. description: 期末余额(变动后金额)
  7423. type: number
  7424. dgoodscode:
  7425. description: 交割商品代码
  7426. type: string
  7427. dgoodsname:
  7428. description: 交割商品名称
  7429. type: string
  7430. goodscode:
  7431. description: 商品代码
  7432. type: string
  7433. goodsid:
  7434. description: 商品ID
  7435. type: integer
  7436. goodsname:
  7437. description: 商品名称
  7438. type: string
  7439. histradedate:
  7440. description: 历史交易日
  7441. type: string
  7442. isvaliddata:
  7443. description: 是否有效 - 0:无效 1:有效
  7444. type: integer
  7445. marketid:
  7446. description: 市场ID
  7447. type: integer
  7448. marketname:
  7449. description: 市场名称
  7450. type: string
  7451. moneyticket:
  7452. description: 资金流水号:银行端流水号
  7453. type: integer
  7454. operatetype:
  7455. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  7456. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  7457. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  7458. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  7459. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  7460. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  7461. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  7462. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  7463. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  7464. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  7465. type: integer
  7466. relationorderid:
  7467. description: 关联单号
  7468. type: string
  7469. remark:
  7470. description: 备注
  7471. type: string
  7472. trademode:
  7473. description: 交易模式
  7474. type: integer
  7475. required:
  7476. - accountid
  7477. - amount
  7478. - amountadjusttype
  7479. - autoid
  7480. - balance
  7481. - createtime
  7482. - currentbalance
  7483. - histradedate
  7484. - operatetype
  7485. type: object
  7486. trade.QueryRecieptOrderRsp:
  7487. properties:
  7488. accountName:
  7489. description: 所属账号名称(已脱敏)
  7490. type: string
  7491. accountid:
  7492. description: 资金账号
  7493. type: integer
  7494. buyorsell:
  7495. description: 方向 - 0:买 1:卖
  7496. type: integer
  7497. enableqty:
  7498. description: 可摘数量
  7499. type: integer
  7500. goodscode:
  7501. description: 商品代码
  7502. type: string
  7503. goodsid:
  7504. description: 商品ID
  7505. type: integer
  7506. goodsname:
  7507. description: 商品名称
  7508. type: string
  7509. orderid:
  7510. description: 委托单号
  7511. type: string
  7512. orderprice:
  7513. description: 委托价格
  7514. type: number
  7515. ordertime:
  7516. description: 委托时间
  7517. type: string
  7518. tradedate:
  7519. description: 交易日(yyyyMMdd)
  7520. type: string
  7521. required:
  7522. - ordertime
  7523. type: object
  7524. info:
  7525. contact: {}
  7526. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  7527. termsOfService: http://muchinfo.cn
  7528. title: MTP2.0 查询服务 API
  7529. version: "1.0"
  7530. paths:
  7531. /CPTrade/QueryCPTradeMyBidInfos:
  7532. get:
  7533. parameters:
  7534. - description: 资金账户
  7535. in: query
  7536. name: accountid
  7537. required: true
  7538. type: integer
  7539. - description: 预售市场ID
  7540. in: query
  7541. name: marketid
  7542. type: integer
  7543. - description: 预售商品ID
  7544. in: query
  7545. name: goodsid
  7546. type: integer
  7547. produces:
  7548. - application/json
  7549. responses:
  7550. "200":
  7551. description: OK
  7552. schema:
  7553. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  7554. "500":
  7555. description: Internal Server Error
  7556. schema:
  7557. $ref: '#/definitions/app.Response'
  7558. security:
  7559. - ApiKeyAuth: []
  7560. summary: 查询产能预售我的出价信息
  7561. tags:
  7562. - 产能预售
  7563. /CPTrade/QueryCPTradeOrderDetail:
  7564. get:
  7565. parameters:
  7566. - description: 预售商品ID
  7567. in: query
  7568. name: goodsid
  7569. type: integer
  7570. - description: 预售市场ID
  7571. in: query
  7572. name: marketid
  7573. type: integer
  7574. - description: 预售商品ID列表 - 格式:1,2,3
  7575. in: query
  7576. name: goodsids
  7577. type: string
  7578. produces:
  7579. - application/json
  7580. responses:
  7581. "200":
  7582. description: OK
  7583. schema:
  7584. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  7585. "500":
  7586. description: Internal Server Error
  7587. schema:
  7588. $ref: '#/definitions/app.Response'
  7589. security:
  7590. - ApiKeyAuth: []
  7591. summary: 查询产能预售委托单信息
  7592. tags:
  7593. - 产能预售
  7594. /CPTrade/QueryMyCPTradeGoods:
  7595. get:
  7596. parameters:
  7597. - description: 资金账户
  7598. in: query
  7599. name: accountid
  7600. required: true
  7601. type: integer
  7602. produces:
  7603. - application/json
  7604. responses:
  7605. "200":
  7606. description: OK
  7607. schema:
  7608. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  7609. "500":
  7610. description: Internal Server Error
  7611. schema:
  7612. $ref: '#/definitions/app.Response'
  7613. security:
  7614. - ApiKeyAuth: []
  7615. summary: 查询我的预售信息
  7616. tags:
  7617. - 产能预售
  7618. /CPTrade/QueryPositionCancel:
  7619. get:
  7620. parameters:
  7621. - description: 账户ID
  7622. in: query
  7623. name: userid
  7624. required: true
  7625. type: integer
  7626. - description: 注销ID
  7627. in: query
  7628. name: cancelid
  7629. type: integer
  7630. - description: 资金账户ID
  7631. in: query
  7632. name: accountid
  7633. type: integer
  7634. produces:
  7635. - application/json
  7636. responses:
  7637. "200":
  7638. description: OK
  7639. schema:
  7640. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  7641. "500":
  7642. description: Internal Server Error
  7643. schema:
  7644. $ref: '#/definitions/app.Response'
  7645. security:
  7646. - ApiKeyAuth: []
  7647. summary: 查询远期订单注销申请信息
  7648. tags:
  7649. - 产能预售
  7650. /CPTrade/QueryPreasleApply:
  7651. get:
  7652. parameters:
  7653. - description: 账户ID
  7654. in: query
  7655. name: userid
  7656. required: true
  7657. type: integer
  7658. - description: 申请ID
  7659. in: query
  7660. name: applyid
  7661. type: integer
  7662. - description: 资金账户ID
  7663. in: query
  7664. name: accountid
  7665. type: integer
  7666. produces:
  7667. - application/json
  7668. responses:
  7669. "200":
  7670. description: OK
  7671. schema:
  7672. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  7673. "500":
  7674. description: Internal Server Error
  7675. schema:
  7676. $ref: '#/definitions/app.Response'
  7677. security:
  7678. - ApiKeyAuth: []
  7679. summary: 查询产能预售申请信息
  7680. tags:
  7681. - 产能预售
  7682. /CPTrade/QueryPresaleGoodsEx:
  7683. get:
  7684. parameters:
  7685. - description: 预售商品ID
  7686. in: query
  7687. name: goodsid
  7688. type: integer
  7689. - description: 预售市场ID
  7690. in: query
  7691. name: marketid
  7692. type: integer
  7693. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  7694. in: query
  7695. name: presalemode
  7696. type: integer
  7697. - description: 预售商品ID列表 - 格式:1,2,3
  7698. in: query
  7699. name: goodsids
  7700. type: string
  7701. - description: 预售商品代码
  7702. in: query
  7703. name: goodscode
  7704. type: string
  7705. produces:
  7706. - application/json
  7707. responses:
  7708. "200":
  7709. description: OK
  7710. schema:
  7711. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  7712. "500":
  7713. description: Internal Server Error
  7714. schema:
  7715. $ref: '#/definitions/app.Response'
  7716. security:
  7717. - ApiKeyAuth: []
  7718. summary: 查询产能预售商品扩展信息
  7719. tags:
  7720. - 产能预售
  7721. /CPTrade/QueryUserGoodsData:
  7722. get:
  7723. parameters:
  7724. - description: 资金账户ID
  7725. in: query
  7726. name: accountid
  7727. required: true
  7728. type: integer
  7729. produces:
  7730. - application/json
  7731. responses:
  7732. "200":
  7733. description: OK
  7734. schema:
  7735. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  7736. "500":
  7737. description: Internal Server Error
  7738. schema:
  7739. $ref: '#/definitions/app.Response'
  7740. security:
  7741. - ApiKeyAuth: []
  7742. summary: 查询远期订单信息
  7743. tags:
  7744. - 产能预售
  7745. /Common/GetAllEnums:
  7746. get:
  7747. produces:
  7748. - application/json
  7749. responses:
  7750. "200":
  7751. description: OK
  7752. schema:
  7753. $ref: '#/definitions/models.Enumdicitem'
  7754. "500":
  7755. description: Internal Server Error
  7756. schema:
  7757. $ref: '#/definitions/app.Response'
  7758. summary: 获取所有枚举信息
  7759. tags:
  7760. - 通用服务
  7761. /Common/GetServerTime:
  7762. get:
  7763. produces:
  7764. - application/json
  7765. responses:
  7766. "200":
  7767. description: OK
  7768. schema:
  7769. $ref: '#/definitions/app.Response'
  7770. "500":
  7771. description: Internal Server Error
  7772. schema:
  7773. $ref: '#/definitions/app.Response'
  7774. summary: 获取服务器时间
  7775. tags:
  7776. - 通用服务
  7777. /Common/NoticeReaded:
  7778. post:
  7779. parameters:
  7780. - description: 登录账号
  7781. in: query
  7782. name: loginID
  7783. required: true
  7784. type: integer
  7785. - description: 通知公告ID
  7786. in: query
  7787. name: noticeID
  7788. required: true
  7789. type: integer
  7790. produces:
  7791. - application/json
  7792. responses:
  7793. "200":
  7794. description: OK
  7795. schema:
  7796. $ref: '#/definitions/app.Response'
  7797. "500":
  7798. description: Internal Server Error
  7799. schema:
  7800. $ref: '#/definitions/app.Response'
  7801. security:
  7802. - ApiKeyAuth: []
  7803. summary: 通知公告设置已读请求
  7804. tags:
  7805. - 通用服务
  7806. /Common/QueryImageConfigs:
  7807. get:
  7808. parameters:
  7809. - description: 类型 - 1:App首页轮播 2:我的
  7810. in: query
  7811. name: imageType
  7812. type: integer
  7813. produces:
  7814. - application/json
  7815. responses:
  7816. "200":
  7817. description: OK
  7818. schema:
  7819. $ref: '#/definitions/models.Szdz2imageconfig'
  7820. "500":
  7821. description: Internal Server Error
  7822. schema:
  7823. $ref: '#/definitions/app.Response'
  7824. summary: 查询轮播图配置信息
  7825. tags:
  7826. - 通用服务
  7827. /Common/QueryNotice:
  7828. get:
  7829. parameters:
  7830. - description: 页码
  7831. in: query
  7832. name: page
  7833. type: integer
  7834. - description: 每页条数
  7835. in: query
  7836. name: pagesize
  7837. type: integer
  7838. - description: 登录账号
  7839. in: query
  7840. name: loginID
  7841. required: true
  7842. type: integer
  7843. - description: 消息类型 - 1:公告通知 2:系统消息
  7844. in: query
  7845. name: msgType
  7846. type: integer
  7847. - description: 是否只获取未读信息
  7848. in: query
  7849. name: onlyUnRead
  7850. type: boolean
  7851. produces:
  7852. - application/json
  7853. responses:
  7854. "200":
  7855. description: OK
  7856. schema:
  7857. $ref: '#/definitions/common.QueryNoticeRsp'
  7858. "500":
  7859. description: Internal Server Error
  7860. schema:
  7861. $ref: '#/definitions/app.Response'
  7862. security:
  7863. - ApiKeyAuth: []
  7864. summary: 通知公告系统消息查询
  7865. tags:
  7866. - 通用服务
  7867. /Common/QueryProvincesAndCities:
  7868. get:
  7869. parameters:
  7870. - description: 省ID
  7871. in: query
  7872. name: provinceID
  7873. type: integer
  7874. produces:
  7875. - application/json
  7876. responses:
  7877. "200":
  7878. description: OK
  7879. schema:
  7880. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  7881. "500":
  7882. description: Internal Server Error
  7883. schema:
  7884. $ref: '#/definitions/app.Response'
  7885. summary: 查询省市信息(不包括区)
  7886. tags:
  7887. - 通用服务
  7888. /Common/QueryTableDefine:
  7889. get:
  7890. parameters:
  7891. - description: 表key
  7892. in: query
  7893. name: tableKey
  7894. type: string
  7895. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  7896. in: query
  7897. name: tableType
  7898. type: integer
  7899. produces:
  7900. - application/json
  7901. responses:
  7902. "200":
  7903. description: OK
  7904. schema:
  7905. $ref: '#/definitions/common.QueryTableDefineRsp'
  7906. "500":
  7907. description: Internal Server Error
  7908. schema:
  7909. $ref: '#/definitions/app.Response'
  7910. summary: 查询交易端列表头信息
  7911. tags:
  7912. - 通用服务
  7913. /Common/QueryTraderMenu:
  7914. get:
  7915. parameters:
  7916. - description: 登录账号
  7917. in: query
  7918. name: loginid
  7919. required: true
  7920. type: integer
  7921. produces:
  7922. - application/json
  7923. responses:
  7924. "200":
  7925. description: OK
  7926. schema:
  7927. $ref: '#/definitions/common.QueryTraderMenuRsp'
  7928. "500":
  7929. description: Internal Server Error
  7930. schema:
  7931. $ref: '#/definitions/app.Response'
  7932. summary: 查询交易端菜单
  7933. tags:
  7934. - 通用服务
  7935. /Delivery/QueryDeliveryRelation:
  7936. get:
  7937. parameters:
  7938. - description: 商品ID
  7939. in: query
  7940. name: goodsid
  7941. type: integer
  7942. - description: 品种ID
  7943. in: query
  7944. name: deliverygoodsid
  7945. type: integer
  7946. - description: 市场ID
  7947. in: query
  7948. name: marketid
  7949. type: integer
  7950. produces:
  7951. - application/json
  7952. responses:
  7953. "200":
  7954. description: OK
  7955. schema:
  7956. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  7957. "500":
  7958. description: Internal Server Error
  7959. schema:
  7960. $ref: '#/definitions/app.Response'
  7961. security:
  7962. - ApiKeyAuth: []
  7963. summary: 查询商品交割关系表
  7964. tags:
  7965. - 交割服务
  7966. /Ermcp/QueryAvaildGoodsGroup:
  7967. get:
  7968. parameters:
  7969. - description: 所属机构ID
  7970. in: query
  7971. name: userid
  7972. required: true
  7973. type: integer
  7974. produces:
  7975. - application/json
  7976. responses:
  7977. "200":
  7978. description: OK
  7979. schema:
  7980. items:
  7981. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  7982. type: array
  7983. "500":
  7984. description: Internal Server Error
  7985. schema:
  7986. $ref: '#/definitions/app.Response'
  7987. security:
  7988. - ApiKeyAuth: []
  7989. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  7990. tags:
  7991. - 企业风险管理(app)
  7992. /Ermcp/QueryBusinessDj:
  7993. get:
  7994. parameters:
  7995. - description: 用户ID
  7996. in: query
  7997. name: UserId
  7998. required: true
  7999. type: integer
  8000. - description: 现货合同ID, 不填则查所有
  8001. in: query
  8002. name: relatedid
  8003. type: string
  8004. produces:
  8005. - application/json
  8006. responses:
  8007. "200":
  8008. description: OK
  8009. schema:
  8010. items:
  8011. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  8012. type: array
  8013. "500":
  8014. description: Internal Server Error
  8015. schema:
  8016. $ref: '#/definitions/app.Response'
  8017. security:
  8018. - ApiKeyAuth: []
  8019. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  8020. tags:
  8021. - 企业风险管理(app)
  8022. /Ermcp/QueryBusinessFp:
  8023. get:
  8024. parameters:
  8025. - description: 用户ID
  8026. in: query
  8027. name: UserId
  8028. required: true
  8029. type: integer
  8030. - description: 现货合同ID, 不填则查所有
  8031. in: query
  8032. name: relatedid
  8033. type: string
  8034. produces:
  8035. - application/json
  8036. responses:
  8037. "200":
  8038. description: OK
  8039. schema:
  8040. items:
  8041. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  8042. type: array
  8043. "500":
  8044. description: Internal Server Error
  8045. schema:
  8046. $ref: '#/definitions/app.Response'
  8047. security:
  8048. - ApiKeyAuth: []
  8049. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  8050. tags:
  8051. - 企业风险管理(app)
  8052. /Ermcp/QueryBusinessJs:
  8053. get:
  8054. parameters:
  8055. - description: 用户ID
  8056. in: query
  8057. name: UserId
  8058. required: true
  8059. type: integer
  8060. - description: 现货合同ID, 不填则查所有
  8061. in: query
  8062. name: relatedid
  8063. type: string
  8064. produces:
  8065. - application/json
  8066. responses:
  8067. "200":
  8068. description: OK
  8069. schema:
  8070. items:
  8071. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  8072. type: array
  8073. "500":
  8074. description: Internal Server Error
  8075. schema:
  8076. $ref: '#/definitions/app.Response'
  8077. security:
  8078. - ApiKeyAuth: []
  8079. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  8080. tags:
  8081. - 企业风险管理(app)
  8082. /Ermcp/QueryBusinessKx:
  8083. get:
  8084. parameters:
  8085. - description: 用户ID
  8086. in: query
  8087. name: UserId
  8088. required: true
  8089. type: integer
  8090. - description: 现货合同ID, 不填则查所有
  8091. in: query
  8092. name: relatedid
  8093. type: string
  8094. produces:
  8095. - application/json
  8096. responses:
  8097. "200":
  8098. description: OK
  8099. schema:
  8100. items:
  8101. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  8102. type: array
  8103. "500":
  8104. description: Internal Server Error
  8105. schema:
  8106. $ref: '#/definitions/app.Response'
  8107. security:
  8108. - ApiKeyAuth: []
  8109. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  8110. tags:
  8111. - 企业风险管理(app)
  8112. /Ermcp/QueryChangeLog:
  8113. get:
  8114. parameters:
  8115. - description: 用户ID
  8116. in: query
  8117. name: RelatedId
  8118. required: true
  8119. type: string
  8120. produces:
  8121. - application/json
  8122. responses:
  8123. "200":
  8124. description: OK
  8125. schema:
  8126. items:
  8127. $ref: '#/definitions/ermcp.QryOPLogRsp'
  8128. type: array
  8129. "500":
  8130. description: Internal Server Error
  8131. schema:
  8132. $ref: '#/definitions/app.Response'
  8133. security:
  8134. - ApiKeyAuth: []
  8135. summary: 查询变更记录
  8136. tags:
  8137. - 企业风险管理(app)
  8138. /Ermcp/QueryContract:
  8139. get:
  8140. parameters:
  8141. - description: 用户ID
  8142. in: query
  8143. name: userId
  8144. required: true
  8145. type: integer
  8146. - description: 合同类型 1-采购, -1-销售
  8147. in: query
  8148. name: contracttype
  8149. required: true
  8150. type: integer
  8151. - description: 查询类型 1-全部 2-待点价 3-履约结算
  8152. in: query
  8153. name: querytype
  8154. required: true
  8155. type: integer
  8156. produces:
  8157. - application/json
  8158. responses:
  8159. "200":
  8160. description: OK
  8161. schema:
  8162. items:
  8163. $ref: '#/definitions/ermcp.QryErmcpRsp'
  8164. type: array
  8165. "500":
  8166. description: Internal Server Error
  8167. schema:
  8168. $ref: '#/definitions/app.Response'
  8169. security:
  8170. - ApiKeyAuth: []
  8171. summary: 查询合同(采购和销售)
  8172. tags:
  8173. - 企业风险管理(app)
  8174. /Ermcp/QueryExposureDetail:
  8175. get:
  8176. parameters:
  8177. - description: 所属机构ID
  8178. in: query
  8179. name: areaUserId
  8180. required: true
  8181. type: integer
  8182. - description: 套保商品
  8183. in: query
  8184. name: middleGoodsId
  8185. required: true
  8186. type: integer
  8187. produces:
  8188. - application/json
  8189. responses:
  8190. "200":
  8191. description: OK
  8192. schema:
  8193. items:
  8194. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  8195. type: array
  8196. "500":
  8197. description: Internal Server Error
  8198. schema:
  8199. $ref: '#/definitions/app.Response'
  8200. security:
  8201. - ApiKeyAuth: []
  8202. summary: 查询敞口现货明细
  8203. tags:
  8204. - 企业风险管理(app)
  8205. /Ermcp/QueryExposureHedgePosition:
  8206. get:
  8207. parameters:
  8208. - description: 所属机构ID
  8209. in: query
  8210. name: areaUserId
  8211. required: true
  8212. type: integer
  8213. produces:
  8214. - application/json
  8215. responses:
  8216. "200":
  8217. description: OK
  8218. schema:
  8219. items:
  8220. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  8221. type: array
  8222. "500":
  8223. description: Internal Server Error
  8224. schema:
  8225. $ref: '#/definitions/app.Response'
  8226. security:
  8227. - ApiKeyAuth: []
  8228. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  8229. tags:
  8230. - 企业风险管理(app)
  8231. /Ermcp/QueryExposureHedgePositionDetail:
  8232. get:
  8233. parameters:
  8234. - description: 所属机构ID
  8235. in: query
  8236. name: areaUserId
  8237. required: true
  8238. type: integer
  8239. - description: 商品id
  8240. in: query
  8241. name: goodsId
  8242. required: true
  8243. type: integer
  8244. produces:
  8245. - application/json
  8246. responses:
  8247. "200":
  8248. description: OK
  8249. schema:
  8250. items:
  8251. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  8252. type: array
  8253. "500":
  8254. description: Internal Server Error
  8255. schema:
  8256. $ref: '#/definitions/app.Response'
  8257. security:
  8258. - ApiKeyAuth: []
  8259. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  8260. tags:
  8261. - 企业风险管理(app)
  8262. /Ermcp/QueryExposureSpot:
  8263. get:
  8264. parameters:
  8265. - description: 所属机构ID
  8266. in: query
  8267. name: areaUserId
  8268. required: true
  8269. type: integer
  8270. produces:
  8271. - application/json
  8272. responses:
  8273. "200":
  8274. description: OK
  8275. schema:
  8276. items:
  8277. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  8278. type: array
  8279. "500":
  8280. description: Internal Server Error
  8281. schema:
  8282. $ref: '#/definitions/app.Response'
  8283. security:
  8284. - ApiKeyAuth: []
  8285. summary: 查询敞口现货头寸(敞口/现货头寸)
  8286. tags:
  8287. - 企业风险管理(app)
  8288. /Ermcp/QueryExposureSpotDetail:
  8289. get:
  8290. parameters:
  8291. - description: 所属机构ID
  8292. in: query
  8293. name: areaUserId
  8294. required: true
  8295. type: integer
  8296. - description: 现货品种ID
  8297. in: query
  8298. name: wrstandardId
  8299. required: true
  8300. type: integer
  8301. produces:
  8302. - application/json
  8303. responses:
  8304. "200":
  8305. description: OK
  8306. schema:
  8307. items:
  8308. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  8309. type: array
  8310. "500":
  8311. description: Internal Server Error
  8312. schema:
  8313. $ref: '#/definitions/app.Response'
  8314. security:
  8315. - ApiKeyAuth: []
  8316. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  8317. tags:
  8318. - 企业风险管理(app)
  8319. /Ermcp/QueryGGConvertConfig:
  8320. get:
  8321. parameters:
  8322. - description: 品种id(不填则查所有)
  8323. in: query
  8324. name: goodsgroupid
  8325. type: integer
  8326. produces:
  8327. - application/json
  8328. responses:
  8329. "200":
  8330. description: OK
  8331. schema:
  8332. items:
  8333. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  8334. type: array
  8335. "500":
  8336. description: Internal Server Error
  8337. schema:
  8338. $ref: '#/definitions/app.Response'
  8339. security:
  8340. - ApiKeyAuth: []
  8341. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  8342. tags:
  8343. - 企业风险管理(app)
  8344. /Ermcp/QueryHedgePlan:
  8345. get:
  8346. parameters:
  8347. - description: 用户ID
  8348. in: query
  8349. name: userId
  8350. required: true
  8351. type: integer
  8352. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8353. in: query
  8354. name: HedgePlanStatus
  8355. required: true
  8356. type: string
  8357. produces:
  8358. - application/json
  8359. responses:
  8360. "200":
  8361. description: OK
  8362. schema:
  8363. items:
  8364. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  8365. type: array
  8366. "500":
  8367. description: Internal Server Error
  8368. schema:
  8369. $ref: '#/definitions/app.Response'
  8370. security:
  8371. - ApiKeyAuth: []
  8372. summary: 查询套保计划
  8373. tags:
  8374. - 企业风险管理(app)
  8375. /Ermcp/QueryHisExposure:
  8376. get:
  8377. parameters:
  8378. - description: 所属机构ID
  8379. in: query
  8380. name: areaUserId
  8381. required: true
  8382. type: integer
  8383. - description: 最近多少条记录, -1:为查全部
  8384. in: query
  8385. name: lastNum
  8386. required: true
  8387. type: integer
  8388. produces:
  8389. - application/json
  8390. responses:
  8391. "200":
  8392. description: OK
  8393. schema:
  8394. items:
  8395. $ref: '#/definitions/ermcp.HisExposureRsp'
  8396. type: array
  8397. "500":
  8398. description: Internal Server Error
  8399. schema:
  8400. $ref: '#/definitions/app.Response'
  8401. security:
  8402. - ApiKeyAuth: []
  8403. summary: 查询历史敞口(菜单:敞口/历史敞口)
  8404. tags:
  8405. - 企业风险管理(app)
  8406. /Ermcp/QueryMiddleGoods:
  8407. get:
  8408. parameters:
  8409. - description: 所属机构ID
  8410. in: query
  8411. name: userid
  8412. required: true
  8413. type: integer
  8414. - description: 状态 0-停用 1-正常
  8415. in: query
  8416. name: status
  8417. required: true
  8418. type: integer
  8419. produces:
  8420. - application/json
  8421. responses:
  8422. "200":
  8423. description: OK
  8424. schema:
  8425. items:
  8426. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  8427. type: array
  8428. "500":
  8429. description: Internal Server Error
  8430. schema:
  8431. $ref: '#/definitions/app.Response'
  8432. security:
  8433. - ApiKeyAuth: []
  8434. summary: 查询套保品种(菜单:套保品种)
  8435. tags:
  8436. - 企业风险管理(app)
  8437. /Ermcp/QueryMiddleGoodsChangeLog:
  8438. get:
  8439. parameters:
  8440. - description: 所属机构ID
  8441. in: query
  8442. name: userid
  8443. required: true
  8444. type: integer
  8445. - description: 套保品种id
  8446. in: query
  8447. name: middlegoodsid
  8448. required: true
  8449. type: integer
  8450. produces:
  8451. - application/json
  8452. responses:
  8453. "200":
  8454. description: OK
  8455. schema:
  8456. items:
  8457. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  8458. type: array
  8459. "500":
  8460. description: Internal Server Error
  8461. schema:
  8462. $ref: '#/definitions/app.Response'
  8463. security:
  8464. - ApiKeyAuth: []
  8465. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  8466. tags:
  8467. - 企业风险管理(app)
  8468. /Ermcp/QueryMiddleGoodsDetail:
  8469. get:
  8470. parameters:
  8471. - description: 所属机构ID
  8472. in: query
  8473. name: userid
  8474. required: true
  8475. type: integer
  8476. - description: 套保品种id
  8477. in: query
  8478. name: middlegoodsid
  8479. required: true
  8480. type: integer
  8481. produces:
  8482. - application/json
  8483. responses:
  8484. "200":
  8485. description: OK
  8486. schema:
  8487. items:
  8488. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  8489. type: array
  8490. "500":
  8491. description: Internal Server Error
  8492. schema:
  8493. $ref: '#/definitions/app.Response'
  8494. security:
  8495. - ApiKeyAuth: []
  8496. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  8497. tags:
  8498. - 企业风险管理(app)
  8499. /Ermcp/QueryRealtimeExposure:
  8500. get:
  8501. parameters:
  8502. - description: 所属机构ID
  8503. in: query
  8504. name: AreaUserID
  8505. required: true
  8506. type: integer
  8507. produces:
  8508. - application/json
  8509. responses:
  8510. "200":
  8511. description: OK
  8512. schema:
  8513. items:
  8514. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  8515. type: array
  8516. "500":
  8517. description: Internal Server Error
  8518. schema:
  8519. $ref: '#/definitions/app.Response'
  8520. security:
  8521. - ApiKeyAuth: []
  8522. summary: 查询实时敞口
  8523. tags:
  8524. - 企业风险管理(app)
  8525. /Ermcp/QueryRealtimeExposurePosition:
  8526. get:
  8527. parameters:
  8528. - description: 所属机构ID
  8529. in: query
  8530. name: areaUserId
  8531. required: true
  8532. type: integer
  8533. - description: 套保商品ID
  8534. in: query
  8535. name: middleGoodsId
  8536. required: true
  8537. type: integer
  8538. produces:
  8539. - application/json
  8540. responses:
  8541. "200":
  8542. description: OK
  8543. schema:
  8544. items:
  8545. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  8546. type: array
  8547. "500":
  8548. description: Internal Server Error
  8549. schema:
  8550. $ref: '#/definitions/app.Response'
  8551. security:
  8552. - ApiKeyAuth: []
  8553. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  8554. tags:
  8555. - 企业风险管理(app)
  8556. /Ermcp/QuerySpotContract:
  8557. get:
  8558. parameters:
  8559. - description: 用户ID
  8560. in: query
  8561. name: userId
  8562. required: true
  8563. type: integer
  8564. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  8565. in: query
  8566. name: QueryType
  8567. required: true
  8568. type: integer
  8569. produces:
  8570. - application/json
  8571. responses:
  8572. "200":
  8573. description: OK
  8574. schema:
  8575. items:
  8576. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  8577. type: array
  8578. "500":
  8579. description: Internal Server Error
  8580. schema:
  8581. $ref: '#/definitions/app.Response'
  8582. security:
  8583. - ApiKeyAuth: []
  8584. summary: 查询现货合同(对应现货合同菜单)
  8585. tags:
  8586. - 企业风险管理(app)
  8587. /Ermcp/QueryUserInfo:
  8588. get:
  8589. parameters:
  8590. - description: 所属机构用户ID
  8591. in: query
  8592. name: MemberUserID
  8593. required: true
  8594. type: integer
  8595. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  8596. in: query
  8597. name: queryType
  8598. required: true
  8599. type: integer
  8600. produces:
  8601. - application/json
  8602. responses:
  8603. "200":
  8604. description: OK
  8605. schema:
  8606. items:
  8607. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  8608. type: array
  8609. "500":
  8610. description: Internal Server Error
  8611. schema:
  8612. $ref: '#/definitions/app.Response'
  8613. security:
  8614. - ApiKeyAuth: []
  8615. summary: 查询客户资料
  8616. tags:
  8617. - 企业风险管理(app)
  8618. /Ermcp/QueryWrStandard:
  8619. get:
  8620. parameters:
  8621. - description: 所属机构ID
  8622. in: query
  8623. name: userid
  8624. required: true
  8625. type: integer
  8626. - description: 状态 0-停用 1-正常
  8627. in: query
  8628. name: status
  8629. required: true
  8630. type: integer
  8631. produces:
  8632. - application/json
  8633. responses:
  8634. "200":
  8635. description: OK
  8636. schema:
  8637. items:
  8638. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  8639. type: array
  8640. "500":
  8641. description: Internal Server Error
  8642. schema:
  8643. $ref: '#/definitions/app.Response'
  8644. security:
  8645. - ApiKeyAuth: []
  8646. summary: 查询现货商品
  8647. tags:
  8648. - 企业风险管理(app)
  8649. /Ermcp/QueryWrStandardDetail:
  8650. get:
  8651. parameters:
  8652. - description: 所属机构ID
  8653. in: query
  8654. name: userid
  8655. required: true
  8656. type: integer
  8657. - description: 现货商品ID
  8658. in: query
  8659. name: wrstandardid
  8660. required: true
  8661. type: integer
  8662. produces:
  8663. - application/json
  8664. responses:
  8665. "200":
  8666. description: OK
  8667. schema:
  8668. items:
  8669. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  8670. type: array
  8671. "500":
  8672. description: Internal Server Error
  8673. schema:
  8674. $ref: '#/definitions/app.Response'
  8675. security:
  8676. - ApiKeyAuth: []
  8677. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  8678. tags:
  8679. - 企业风险管理(app)
  8680. /Erms2/QueryArbitrageStrategy:
  8681. get:
  8682. parameters:
  8683. - description: 账户ID
  8684. in: query
  8685. name: userid
  8686. required: true
  8687. type: integer
  8688. - description: 商品组ID(品种ID)
  8689. in: query
  8690. name: goodsgroupid
  8691. type: string
  8692. produces:
  8693. - application/json
  8694. responses:
  8695. "200":
  8696. description: OK
  8697. schema:
  8698. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  8699. "500":
  8700. description: Internal Server Error
  8701. schema:
  8702. $ref: '#/definitions/app.Response'
  8703. security:
  8704. - ApiKeyAuth: []
  8705. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  8706. tags:
  8707. - 风险管理
  8708. /Erms2/QueryInnerTradeDetail:
  8709. get:
  8710. parameters:
  8711. - description: 资金账户
  8712. in: query
  8713. name: accountid
  8714. required: true
  8715. type: integer
  8716. produces:
  8717. - application/json
  8718. responses:
  8719. "200":
  8720. description: OK
  8721. schema:
  8722. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  8723. "500":
  8724. description: Internal Server Error
  8725. schema:
  8726. $ref: '#/definitions/app.Response'
  8727. security:
  8728. - ApiKeyAuth: []
  8729. summary: 查询内部成交单信息
  8730. tags:
  8731. - 风险管理
  8732. /Erms2/QuerySpotContract:
  8733. get:
  8734. parameters:
  8735. - description: 策略申请ID
  8736. in: query
  8737. name: asapplyid
  8738. required: true
  8739. type: integer
  8740. - description: 现货合同ID
  8741. in: query
  8742. name: spotcontractid
  8743. type: integer
  8744. produces:
  8745. - application/json
  8746. responses:
  8747. "200":
  8748. description: OK
  8749. schema:
  8750. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  8751. "500":
  8752. description: Internal Server Error
  8753. schema:
  8754. $ref: '#/definitions/app.Response'
  8755. security:
  8756. - ApiKeyAuth: []
  8757. summary: 查询现货合同表信息(指定策略ID、未结束的)
  8758. tags:
  8759. - 风险管理
  8760. /Erms3/AddErms2ASApply:
  8761. post:
  8762. parameters:
  8763. - description: 申请参数
  8764. in: body
  8765. name: jsonBody
  8766. required: true
  8767. schema:
  8768. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  8769. produces:
  8770. - application/json
  8771. responses:
  8772. "200":
  8773. description: OK
  8774. schema:
  8775. $ref: '#/definitions/app.Response'
  8776. "500":
  8777. description: Internal Server Error
  8778. schema:
  8779. $ref: '#/definitions/app.Response'
  8780. security:
  8781. - ApiKeyAuth: []
  8782. summary: 新增期现套利业务申请
  8783. tags:
  8784. - 风险管理v3
  8785. /Erms3/AddErms2SpotTradeApply:
  8786. post:
  8787. parameters:
  8788. - description: 申请参数
  8789. in: body
  8790. name: jsonBody
  8791. required: true
  8792. schema:
  8793. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  8794. produces:
  8795. - application/json
  8796. responses:
  8797. "200":
  8798. description: OK
  8799. schema:
  8800. $ref: '#/definitions/app.Response'
  8801. "500":
  8802. description: Internal Server Error
  8803. schema:
  8804. $ref: '#/definitions/app.Response'
  8805. security:
  8806. - ApiKeyAuth: []
  8807. summary: 新增现货贸易业务申请
  8808. tags:
  8809. - 风险管理v3
  8810. /Erms3/AddSpotContractApply:
  8811. post:
  8812. parameters:
  8813. - description: 申请参数
  8814. in: body
  8815. name: jsonBody
  8816. required: true
  8817. schema:
  8818. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  8819. produces:
  8820. - application/json
  8821. responses:
  8822. "200":
  8823. description: OK
  8824. schema:
  8825. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  8826. "500":
  8827. description: Internal Server Error
  8828. schema:
  8829. $ref: '#/definitions/app.Response'
  8830. security:
  8831. - ApiKeyAuth: []
  8832. summary: 新增现货合同申请
  8833. tags:
  8834. - 风险管理v3
  8835. /Erms3/AddUserInfoApply:
  8836. post:
  8837. parameters:
  8838. - description: 用户信息
  8839. in: body
  8840. name: jsonBody
  8841. required: true
  8842. schema:
  8843. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  8844. produces:
  8845. - application/json
  8846. responses:
  8847. "200":
  8848. description: OK
  8849. schema:
  8850. $ref: '#/definitions/app.Response'
  8851. "500":
  8852. description: Internal Server Error
  8853. schema:
  8854. $ref: '#/definitions/app.Response'
  8855. security:
  8856. - ApiKeyAuth: []
  8857. summary: 新增客户申请
  8858. tags:
  8859. - 风险管理v3
  8860. /Erms3/ModifyUserInfoApply:
  8861. post:
  8862. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  8863. int, "userstate": 2 }'
  8864. parameters:
  8865. - description: 用户信息
  8866. in: body
  8867. name: jsonBody
  8868. required: true
  8869. schema:
  8870. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  8871. produces:
  8872. - application/json
  8873. responses:
  8874. "200":
  8875. description: OK
  8876. schema:
  8877. $ref: '#/definitions/app.Response'
  8878. "500":
  8879. description: Internal Server Error
  8880. schema:
  8881. $ref: '#/definitions/app.Response'
  8882. security:
  8883. - ApiKeyAuth: []
  8884. summary: 修改客户申请
  8885. tags:
  8886. - 风险管理v3
  8887. /Erms3/QueryBusinessInfo:
  8888. get:
  8889. parameters:
  8890. - description: 资金账号ID列表,用逗号分隔
  8891. in: query
  8892. name: accountids
  8893. required: true
  8894. type: string
  8895. - description: 状态,0为未结束 1为已结束
  8896. in: query
  8897. name: status
  8898. required: true
  8899. type: integer
  8900. produces:
  8901. - application/json
  8902. responses:
  8903. "200":
  8904. description: OK
  8905. schema:
  8906. items:
  8907. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  8908. type: array
  8909. "500":
  8910. description: Internal Server Error
  8911. schema:
  8912. $ref: '#/definitions/app.Response'
  8913. security:
  8914. - ApiKeyAuth: []
  8915. summary: 查询业务表单数据
  8916. tags:
  8917. - 风险管理v3
  8918. /Erms3/QueryPendingAuditContract:
  8919. get:
  8920. parameters:
  8921. - description: 资金账号ID列表,逗号隔开
  8922. in: query
  8923. name: accountids
  8924. required: true
  8925. type: string
  8926. - description: 合同类型 1-采购 -1-销售
  8927. in: query
  8928. name: contracttype
  8929. required: true
  8930. type: integer
  8931. - description: 合同模式 1-普通 2-回购
  8932. in: query
  8933. name: contractmode
  8934. required: true
  8935. type: integer
  8936. produces:
  8937. - application/json
  8938. responses:
  8939. "200":
  8940. description: OK
  8941. schema:
  8942. items:
  8943. $ref: '#/definitions/erms3.QryAuditContractRsp'
  8944. type: array
  8945. "500":
  8946. description: Internal Server Error
  8947. schema:
  8948. $ref: '#/definitions/app.Response'
  8949. security:
  8950. - ApiKeyAuth: []
  8951. summary: 查询待审核合同
  8952. tags:
  8953. - 风险管理v3
  8954. /Erms3/QueryPendingBusiness:
  8955. get:
  8956. parameters:
  8957. - description: 资金账号ID列表,逗号隔开
  8958. in: query
  8959. name: accountids
  8960. required: true
  8961. type: string
  8962. produces:
  8963. - application/json
  8964. responses:
  8965. "200":
  8966. description: OK
  8967. schema:
  8968. items:
  8969. $ref: '#/definitions/erms3.QryPendingBizRsp'
  8970. type: array
  8971. "500":
  8972. description: Internal Server Error
  8973. schema:
  8974. $ref: '#/definitions/app.Response'
  8975. security:
  8976. - ApiKeyAuth: []
  8977. summary: 查询待审核基差贸易业务
  8978. tags:
  8979. - 风险管理v3
  8980. /Erms3/QuerySpotContractAppleForm:
  8981. get:
  8982. parameters:
  8983. - description: 登录账号
  8984. in: query
  8985. name: loginID
  8986. required: true
  8987. type: integer
  8988. produces:
  8989. - application/json
  8990. responses:
  8991. "200":
  8992. description: OK
  8993. schema:
  8994. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  8995. "500":
  8996. description: Internal Server Error
  8997. schema:
  8998. $ref: '#/definitions/app.Response'
  8999. security:
  9000. - ApiKeyAuth: []
  9001. summary: 查询合同申请表单数据
  9002. tags:
  9003. - 风险管理v3
  9004. /Erms3/QuerySpotContractDetail:
  9005. get:
  9006. parameters:
  9007. - description: 资金账号ID列表,用逗号分隔
  9008. in: query
  9009. name: accountids
  9010. required: true
  9011. type: string
  9012. - description: 合同类型,1为采购合同 -1为销售合同
  9013. in: query
  9014. name: contracttype
  9015. required: true
  9016. type: integer
  9017. - description: 合同模式,1为普通合同 2为回购销售合同
  9018. in: query
  9019. name: contractmode
  9020. required: true
  9021. type: integer
  9022. - description: 状态,0为履约中 1为已完成
  9023. in: query
  9024. name: status
  9025. required: true
  9026. type: integer
  9027. produces:
  9028. - application/json
  9029. responses:
  9030. "200":
  9031. description: OK
  9032. schema:
  9033. items:
  9034. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  9035. type: array
  9036. "500":
  9037. description: Internal Server Error
  9038. schema:
  9039. $ref: '#/definitions/app.Response'
  9040. security:
  9041. - ApiKeyAuth: []
  9042. summary: 查询合同详细信息
  9043. tags:
  9044. - 风险管理v3
  9045. /Erms3/QueryUserInfoApplies:
  9046. get:
  9047. parameters:
  9048. - description: 页码
  9049. in: query
  9050. name: page
  9051. type: integer
  9052. - description: 每页条数
  9053. in: query
  9054. name: pagesize
  9055. type: integer
  9056. - description: 客户名称,支持模糊查询
  9057. in: query
  9058. name: userName
  9059. type: string
  9060. produces:
  9061. - application/json
  9062. responses:
  9063. "200":
  9064. description: OK
  9065. schema:
  9066. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  9067. "500":
  9068. description: Internal Server Error
  9069. schema:
  9070. $ref: '#/definitions/app.Response'
  9071. security:
  9072. - ApiKeyAuth: []
  9073. summary: 客户申请信息查询
  9074. tags:
  9075. - 风险管理v3
  9076. /Erms3/QueryUserInfos:
  9077. get:
  9078. parameters:
  9079. - description: 页码
  9080. in: query
  9081. name: page
  9082. type: integer
  9083. - description: 每页条数
  9084. in: query
  9085. name: pagesize
  9086. type: integer
  9087. - description: 客户名称,支持模糊查询
  9088. in: query
  9089. name: userName
  9090. type: string
  9091. produces:
  9092. - application/json
  9093. responses:
  9094. "200":
  9095. description: OK
  9096. schema:
  9097. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  9098. "500":
  9099. description: Internal Server Error
  9100. schema:
  9101. $ref: '#/definitions/app.Response'
  9102. security:
  9103. - ApiKeyAuth: []
  9104. summary: 客户信息查询
  9105. tags:
  9106. - 风险管理v3
  9107. /HSBY/GetHsbyMyCount:
  9108. get:
  9109. description: 说明: 不包括已完成的数量。
  9110. parameters:
  9111. - description: 资金账户列表,格式:1,2,3
  9112. in: query
  9113. name: accountIDs
  9114. required: true
  9115. type: string
  9116. produces:
  9117. - application/json
  9118. responses:
  9119. "200":
  9120. description: OK
  9121. schema:
  9122. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  9123. "500":
  9124. description: Internal Server Error
  9125. schema:
  9126. $ref: '#/definitions/app.Response'
  9127. security:
  9128. - ApiKeyAuth: []
  9129. summary: 获取我的订单与包裹数量
  9130. tags:
  9131. - 定制【海商报业】
  9132. /HSBY/QueryClientFixedADConfigs:
  9133. get:
  9134. produces:
  9135. - application/json
  9136. responses:
  9137. "200":
  9138. description: OK
  9139. schema:
  9140. $ref: '#/definitions/models.Clientfixedadconfig'
  9141. "500":
  9142. description: Internal Server Error
  9143. schema:
  9144. $ref: '#/definitions/app.Response'
  9145. security:
  9146. - ApiKeyAuth: []
  9147. summary: 获取终端固定广告配置
  9148. tags:
  9149. - 定制【海商报业】
  9150. /HSBY/QueryHsbyBuyMyTradeDetail:
  9151. get:
  9152. parameters:
  9153. - description: 页码
  9154. in: query
  9155. name: page
  9156. type: integer
  9157. - description: 每页条数
  9158. in: query
  9159. name: pagesize
  9160. type: integer
  9161. - description: 资金账户列表,格式:1,2,3
  9162. in: query
  9163. name: accountIDs
  9164. required: true
  9165. type: string
  9166. produces:
  9167. - application/json
  9168. responses:
  9169. "200":
  9170. description: OK
  9171. schema:
  9172. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  9173. "500":
  9174. description: Internal Server Error
  9175. schema:
  9176. $ref: '#/definitions/app.Response'
  9177. security:
  9178. - ApiKeyAuth: []
  9179. summary: 查询"我的订单 - 已完成"单据信息
  9180. tags:
  9181. - 定制【海商报业】
  9182. /HSBY/QueryHsbyGoodsOrderDetails:
  9183. get:
  9184. description: 说明:查询结果已按委托价格和委托时间排序
  9185. parameters:
  9186. - description: 商品ID
  9187. in: query
  9188. name: goodsID
  9189. required: true
  9190. type: integer
  9191. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  9192. in: query
  9193. name: accountIDs
  9194. type: string
  9195. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  9196. in: query
  9197. name: buyOrSell
  9198. type: integer
  9199. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  9200. in: query
  9201. name: price
  9202. type: number
  9203. - description: 档位,不传则默认为3档
  9204. in: query
  9205. name: speed
  9206. type: integer
  9207. produces:
  9208. - application/json
  9209. responses:
  9210. "200":
  9211. description: OK
  9212. schema:
  9213. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  9214. "500":
  9215. description: Internal Server Error
  9216. schema:
  9217. $ref: '#/definitions/app.Response'
  9218. security:
  9219. - ApiKeyAuth: []
  9220. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  9221. tags:
  9222. - 定制【海商报业】
  9223. /HSBY/QueryHsbyListingGoodsDetail:
  9224. get:
  9225. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  9226. parameters:
  9227. - description: 商品ID
  9228. in: query
  9229. name: goodsID
  9230. required: true
  9231. type: integer
  9232. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  9233. in: query
  9234. name: accountID
  9235. type: integer
  9236. produces:
  9237. - application/json
  9238. responses:
  9239. "200":
  9240. description: OK
  9241. schema:
  9242. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  9243. "500":
  9244. description: Internal Server Error
  9245. schema:
  9246. $ref: '#/definitions/app.Response'
  9247. security:
  9248. - ApiKeyAuth: []
  9249. summary: 查询二级市场(挂牌点选)商品信息详情
  9250. tags:
  9251. - 定制【海商报业】
  9252. /HSBY/QueryHsbyMarketGoodsDetail:
  9253. get:
  9254. parameters:
  9255. - description: 委托单号
  9256. in: query
  9257. name: orderID
  9258. required: true
  9259. type: integer
  9260. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  9261. in: query
  9262. name: accountID
  9263. type: integer
  9264. produces:
  9265. - application/json
  9266. responses:
  9267. "200":
  9268. description: OK
  9269. schema:
  9270. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  9271. "500":
  9272. description: Internal Server Error
  9273. schema:
  9274. $ref: '#/definitions/app.Response'
  9275. security:
  9276. - ApiKeyAuth: []
  9277. summary: 查询三级市场(商城)商品信息详情
  9278. tags:
  9279. - 定制【海商报业】
  9280. /HSBY/QueryHsbyMarketGoodses:
  9281. get:
  9282. parameters:
  9283. - description: 页码
  9284. in: query
  9285. name: page
  9286. type: integer
  9287. - description: 每页条数
  9288. in: query
  9289. name: pagesize
  9290. type: integer
  9291. - description: 市场ID列表,格式:1,2,3
  9292. in: query
  9293. name: marketIDs
  9294. required: true
  9295. type: string
  9296. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  9297. in: query
  9298. name: accountID
  9299. required: true
  9300. type: integer
  9301. - description: 类别ID
  9302. in: query
  9303. name: categoryID
  9304. type: integer
  9305. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  9306. in: query
  9307. name: goodsIDs
  9308. type: string
  9309. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  9310. in: query
  9311. name: couponTypeID
  9312. type: integer
  9313. produces:
  9314. - application/json
  9315. responses:
  9316. "200":
  9317. description: OK
  9318. schema:
  9319. $ref: '#/definitions/models.HsbyMarketGoods'
  9320. "500":
  9321. description: Internal Server Error
  9322. schema:
  9323. $ref: '#/definitions/app.Response'
  9324. security:
  9325. - ApiKeyAuth: []
  9326. summary: 查询特卖商品列表(三级商城)
  9327. tags:
  9328. - 定制【海商报业】
  9329. /HSBY/QueryHsbyMarkets:
  9330. get:
  9331. produces:
  9332. - application/json
  9333. responses:
  9334. "200":
  9335. description: OK
  9336. schema:
  9337. $ref: '#/definitions/models.HsbyMarketInfo'
  9338. "500":
  9339. description: Internal Server Error
  9340. schema:
  9341. $ref: '#/definitions/app.Response'
  9342. security:
  9343. - ApiKeyAuth: []
  9344. summary: 查询海商报业相关市场信息
  9345. tags:
  9346. - 定制【海商报业】
  9347. /HSBY/QueryHsbyMyBuyOrderDetails:
  9348. get:
  9349. description: 说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;
  9350. parameters:
  9351. - description: 资金账户列表,格式:1,2,3
  9352. in: query
  9353. name: accountIDs
  9354. required: true
  9355. type: string
  9356. - description: '''我的订单''状态, 1:抢购中 2:求购中 3:已完成;不传则为''全部'''
  9357. in: query
  9358. name: myBuyStatus
  9359. type: integer
  9360. produces:
  9361. - application/json
  9362. responses:
  9363. "200":
  9364. description: OK
  9365. schema:
  9366. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  9367. "500":
  9368. description: Internal Server Error
  9369. schema:
  9370. $ref: '#/definitions/app.Response'
  9371. security:
  9372. - ApiKeyAuth: []
  9373. summary: 查询“我的订单”信息
  9374. tags:
  9375. - 定制【海商报业】
  9376. /HSBY/QueryHsbyMyGoods:
  9377. get:
  9378. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  9379. parameters:
  9380. - description: 资金账户列表,格式:1,2,3
  9381. in: query
  9382. name: accountIDs
  9383. required: true
  9384. type: string
  9385. produces:
  9386. - application/json
  9387. responses:
  9388. "200":
  9389. description: OK
  9390. schema:
  9391. $ref: '#/definitions/models.HsbyMyGoods'
  9392. "500":
  9393. description: Internal Server Error
  9394. schema:
  9395. $ref: '#/definitions/app.Response'
  9396. security:
  9397. - ApiKeyAuth: []
  9398. summary: 查询“我的商品”信息
  9399. tags:
  9400. - 定制【海商报业】
  9401. /HSBY/QueryHsbyMyPackages:
  9402. get:
  9403. parameters:
  9404. - description: 资金账户列表,格式:1,2,3
  9405. in: query
  9406. name: accountIDs
  9407. required: true
  9408. type: string
  9409. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9410. in: query
  9411. name: takeOrderStatus
  9412. type: integer
  9413. produces:
  9414. - application/json
  9415. responses:
  9416. "200":
  9417. description: OK
  9418. schema:
  9419. $ref: '#/definitions/models.HsbyMyPackage'
  9420. "500":
  9421. description: Internal Server Error
  9422. schema:
  9423. $ref: '#/definitions/app.Response'
  9424. security:
  9425. - ApiKeyAuth: []
  9426. summary: 查询我的包裹信息
  9427. tags:
  9428. - 定制【海商报业】
  9429. /HSBY/QueryHsbyPreGoodsDetail:
  9430. get:
  9431. parameters:
  9432. - description: 商品ID
  9433. in: query
  9434. name: goodsID
  9435. required: true
  9436. type: integer
  9437. - description: 资金账户,主要用于获取预售商品购买上限
  9438. in: query
  9439. name: accountID
  9440. type: integer
  9441. produces:
  9442. - application/json
  9443. responses:
  9444. "200":
  9445. description: OK
  9446. schema:
  9447. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  9448. "500":
  9449. description: Internal Server Error
  9450. schema:
  9451. $ref: '#/definitions/app.Response'
  9452. security:
  9453. - ApiKeyAuth: []
  9454. summary: 查询一级市场(预售)商品信息详情
  9455. tags:
  9456. - 定制【海商报业】
  9457. /HSBY/QueryHsbyPreGoodses:
  9458. get:
  9459. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  9460. parameters:
  9461. - description: 页码
  9462. in: query
  9463. name: page
  9464. type: integer
  9465. - description: 每页条数
  9466. in: query
  9467. name: pagesize
  9468. type: integer
  9469. - description: 市场ID列表,格式:1,2,3
  9470. in: query
  9471. name: marketIDs
  9472. required: true
  9473. type: string
  9474. - description: 目的地(省)ID
  9475. in: query
  9476. name: descProvinceID
  9477. type: integer
  9478. - description: 目的地(市)ID
  9479. in: query
  9480. name: descCityID
  9481. type: integer
  9482. produces:
  9483. - application/json
  9484. responses:
  9485. "200":
  9486. description: OK
  9487. schema:
  9488. $ref: '#/definitions/models.HsbyPreGoods'
  9489. "500":
  9490. description: Internal Server Error
  9491. schema:
  9492. $ref: '#/definitions/app.Response'
  9493. security:
  9494. - ApiKeyAuth: []
  9495. summary: 查询新品上市商品列表(一级市场预售)
  9496. tags:
  9497. - 定制【海商报业】
  9498. /HSBY/QueryHsbySellMyDetails:
  9499. get:
  9500. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  9501. parameters:
  9502. - description: 页码
  9503. in: query
  9504. name: page
  9505. type: integer
  9506. - description: 每页条数
  9507. in: query
  9508. name: pagesize
  9509. type: integer
  9510. - description: 资金账户列表,格式:1,2,3
  9511. in: query
  9512. name: accountIDs
  9513. required: true
  9514. type: string
  9515. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  9516. in: query
  9517. name: orderType
  9518. type: integer
  9519. produces:
  9520. - application/json
  9521. responses:
  9522. "200":
  9523. description: OK
  9524. schema:
  9525. $ref: '#/definitions/models.HsbySellMyDetail'
  9526. "500":
  9527. description: Internal Server Error
  9528. schema:
  9529. $ref: '#/definitions/app.Response'
  9530. security:
  9531. - ApiKeyAuth: []
  9532. summary: 查询"我的闲置"单据信息
  9533. tags:
  9534. - 定制【海商报业】
  9535. /HSBY/QueryHsbyTopGoodses:
  9536. get:
  9537. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  9538. parameters:
  9539. - description: 页码
  9540. in: query
  9541. name: page
  9542. type: integer
  9543. - description: 每页条数
  9544. in: query
  9545. name: pagesize
  9546. type: integer
  9547. - description: 市场ID列表,格式:1,2,3
  9548. in: query
  9549. name: marketIDs
  9550. required: true
  9551. type: string
  9552. - description: 目的地(省)ID
  9553. in: query
  9554. name: descProvinceID
  9555. type: integer
  9556. - description: 目的地(市)ID
  9557. in: query
  9558. name: descCityID
  9559. type: integer
  9560. produces:
  9561. - application/json
  9562. responses:
  9563. "200":
  9564. description: OK
  9565. schema:
  9566. $ref: '#/definitions/models.HsbyTopGoods'
  9567. "500":
  9568. description: Internal Server Error
  9569. schema:
  9570. $ref: '#/definitions/app.Response'
  9571. security:
  9572. - ApiKeyAuth: []
  9573. summary: 查询热卖商品列表(二级市场挂牌点选)
  9574. tags:
  9575. - 定制【海商报业】
  9576. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  9577. get:
  9578. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  9579. parameters:
  9580. - description: 商品ID
  9581. in: query
  9582. name: goodsID
  9583. required: true
  9584. type: integer
  9585. produces:
  9586. - application/json
  9587. responses:
  9588. "200":
  9589. description: OK
  9590. schema:
  9591. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  9592. "500":
  9593. description: Internal Server Error
  9594. schema:
  9595. $ref: '#/definitions/app.Response'
  9596. security:
  9597. - ApiKeyAuth: []
  9598. summary: 查询游客三级市场(商城)商品信息详情
  9599. tags:
  9600. - 定制【海商报业】
  9601. /HSBY/QueryHsbyVisitorMarketGoodses:
  9602. get:
  9603. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  9604. parameters:
  9605. - description: 页码
  9606. in: query
  9607. name: page
  9608. type: integer
  9609. - description: 每页条数
  9610. in: query
  9611. name: pagesize
  9612. type: integer
  9613. - description: 市场ID列表,格式:1,2,3
  9614. in: query
  9615. name: marketIDs
  9616. required: true
  9617. type: string
  9618. - description: 类别ID
  9619. in: query
  9620. name: categoryID
  9621. type: integer
  9622. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  9623. in: query
  9624. name: goodsIDs
  9625. type: string
  9626. produces:
  9627. - application/json
  9628. responses:
  9629. "200":
  9630. description: OK
  9631. schema:
  9632. $ref: '#/definitions/models.HsbyMarketGoods'
  9633. "500":
  9634. description: Internal Server Error
  9635. schema:
  9636. $ref: '#/definitions/app.Response'
  9637. security:
  9638. - ApiKeyAuth: []
  9639. summary: 查询游客特卖商品列表(三级商城)
  9640. tags:
  9641. - 定制【海商报业】
  9642. /HSBY/QueryMyCollectionOrders:
  9643. get:
  9644. parameters:
  9645. - description: 页码
  9646. in: query
  9647. name: page
  9648. type: integer
  9649. - description: 每页条数
  9650. in: query
  9651. name: pagesize
  9652. type: integer
  9653. - description: 资金账户,格式:1,2,3
  9654. in: query
  9655. name: accountIDs
  9656. required: true
  9657. type: string
  9658. produces:
  9659. - application/json
  9660. responses:
  9661. "200":
  9662. description: OK
  9663. schema:
  9664. $ref: '#/definitions/models.HsbySellCollectionOrder'
  9665. "500":
  9666. description: Internal Server Error
  9667. schema:
  9668. $ref: '#/definitions/app.Response'
  9669. security:
  9670. - ApiKeyAuth: []
  9671. summary: 我的闲置中收款信息查询
  9672. tags:
  9673. - 定制【海商报业】
  9674. /HSBY/QueryMyCouponHolds:
  9675. get:
  9676. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  9677. parameters:
  9678. - description: 资金账户列表,格式:1,2,3
  9679. in: query
  9680. name: accountIDs
  9681. required: true
  9682. type: string
  9683. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  9684. in: query
  9685. name: holdStatus
  9686. type: string
  9687. produces:
  9688. - application/json
  9689. responses:
  9690. "200":
  9691. description: OK
  9692. schema:
  9693. $ref: '#/definitions/models.MyCouponHold'
  9694. "500":
  9695. description: Internal Server Error
  9696. schema:
  9697. $ref: '#/definitions/app.Response'
  9698. security:
  9699. - ApiKeyAuth: []
  9700. summary: 我的优惠卷持仓查询
  9701. tags:
  9702. - 定制【海商报业】
  9703. /HSBY/QueryMyCoupons:
  9704. get:
  9705. parameters:
  9706. - description: 资金账户列表,格式:1,2,3
  9707. in: query
  9708. name: accountIDs
  9709. required: true
  9710. type: string
  9711. - description: 商品ID, 一般与sellUserID配套传入
  9712. in: query
  9713. name: goodsID
  9714. type: integer
  9715. - description: 卖方UserID
  9716. in: query
  9717. name: sellUserID
  9718. type: integer
  9719. produces:
  9720. - application/json
  9721. responses:
  9722. "200":
  9723. description: OK
  9724. schema:
  9725. $ref: '#/definitions/models.MyCoupon'
  9726. "500":
  9727. description: Internal Server Error
  9728. schema:
  9729. $ref: '#/definitions/app.Response'
  9730. security:
  9731. - ApiKeyAuth: []
  9732. summary: 我的优惠卷查询
  9733. tags:
  9734. - 定制【海商报业】
  9735. /HSBY/QueryMyPayOrders:
  9736. get:
  9737. parameters:
  9738. - description: 页码
  9739. in: query
  9740. name: page
  9741. type: integer
  9742. - description: 每页条数
  9743. in: query
  9744. name: pagesize
  9745. type: integer
  9746. - description: 资金账户列表,格式:1,2,3
  9747. in: query
  9748. name: accountIDs
  9749. required: true
  9750. type: string
  9751. - description: 买方委托单号
  9752. in: query
  9753. name: buyOrderID
  9754. type: integer
  9755. - description: 卖方委托单号
  9756. in: query
  9757. name: sellOrderID
  9758. type: integer
  9759. produces:
  9760. - application/json
  9761. responses:
  9762. "200":
  9763. description: OK
  9764. schema:
  9765. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  9766. "500":
  9767. description: Internal Server Error
  9768. schema:
  9769. $ref: '#/definitions/app.Response'
  9770. security:
  9771. - ApiKeyAuth: []
  9772. summary: 获取我的订单中待付款信息
  9773. tags:
  9774. - 定制【海商报业】
  9775. /HSBY/QueryMyUsedCoupon:
  9776. get:
  9777. parameters:
  9778. - description: 资金账户列表,格式:1,2,3
  9779. in: query
  9780. name: accountIDs
  9781. required: true
  9782. type: string
  9783. produces:
  9784. - application/json
  9785. responses:
  9786. "200":
  9787. description: OK
  9788. schema:
  9789. $ref: '#/definitions/models.MyUsedCoupon'
  9790. "500":
  9791. description: Internal Server Error
  9792. schema:
  9793. $ref: '#/definitions/app.Response'
  9794. security:
  9795. - ApiKeyAuth: []
  9796. summary: 已使用优惠卷查询
  9797. tags:
  9798. - 定制【海商报业】
  9799. /HSBY/QueryProvincesAndCities:
  9800. get:
  9801. description: 查询结果只包括二级市场商品已关连的省市信息。
  9802. parameters:
  9803. - description: 省ID
  9804. in: query
  9805. name: provinceID
  9806. type: integer
  9807. produces:
  9808. - application/json
  9809. responses:
  9810. "200":
  9811. description: OK
  9812. schema:
  9813. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  9814. "500":
  9815. description: Internal Server Error
  9816. schema:
  9817. $ref: '#/definitions/app.Response'
  9818. security:
  9819. - ApiKeyAuth: []
  9820. summary: 查询省市信息(不包括区)
  9821. tags:
  9822. - 定制【海商报业】
  9823. /HSBY/SetHsbyMyPackagesStatus:
  9824. post:
  9825. parameters:
  9826. - description: 提货单号
  9827. in: query
  9828. name: takeOrderID
  9829. required: true
  9830. type: string
  9831. - description: 资金账号
  9832. in: query
  9833. name: accountID
  9834. required: true
  9835. type: integer
  9836. produces:
  9837. - application/json
  9838. responses:
  9839. "200":
  9840. description: OK
  9841. schema:
  9842. $ref: '#/definitions/app.Response'
  9843. "500":
  9844. description: Internal Server Error
  9845. schema:
  9846. $ref: '#/definitions/app.Response'
  9847. security:
  9848. - ApiKeyAuth: []
  9849. summary: 设置我的包裹已收货状态
  9850. tags:
  9851. - 定制【海商报业】
  9852. /Market/QueryGoodsesByLoginID:
  9853. get:
  9854. parameters:
  9855. - description: 登录账号
  9856. in: query
  9857. name: loginID
  9858. required: true
  9859. type: integer
  9860. - description: 市场ID列表,格式:1,2,3
  9861. in: query
  9862. name: marketIDs
  9863. type: string
  9864. produces:
  9865. - application/json
  9866. responses:
  9867. "200":
  9868. description: OK
  9869. schema:
  9870. $ref: '#/definitions/models.Goods'
  9871. "500":
  9872. description: Internal Server Error
  9873. schema:
  9874. $ref: '#/definitions/app.Response'
  9875. security:
  9876. - ApiKeyAuth: []
  9877. summary: 获取登录账号有权限的商品信息
  9878. tags:
  9879. - 通用市场
  9880. /Market/QueryMarketRun:
  9881. get:
  9882. parameters:
  9883. - description: 市场ID,不传返回所有
  9884. in: query
  9885. name: marketID
  9886. type: integer
  9887. produces:
  9888. - application/json
  9889. responses:
  9890. "200":
  9891. description: OK
  9892. schema:
  9893. $ref: '#/definitions/models.Marketrun'
  9894. "500":
  9895. description: Internal Server Error
  9896. schema:
  9897. $ref: '#/definitions/app.Response'
  9898. security:
  9899. - ApiKeyAuth: []
  9900. summary: 查询市场运行信息
  9901. tags:
  9902. - 通用市场
  9903. /Market/QueryMarketsByLoginID:
  9904. get:
  9905. parameters:
  9906. - description: 登录账号
  9907. in: query
  9908. name: loginID
  9909. required: true
  9910. type: integer
  9911. produces:
  9912. - application/json
  9913. responses:
  9914. "200":
  9915. description: OK
  9916. schema:
  9917. $ref: '#/definitions/models.Market'
  9918. "500":
  9919. description: Internal Server Error
  9920. schema:
  9921. $ref: '#/definitions/app.Response'
  9922. security:
  9923. - ApiKeyAuth: []
  9924. summary: 获取登录账号有权限的市场信息
  9925. tags:
  9926. - 通用市场
  9927. /Order/QueryHisTradeDetail:
  9928. get:
  9929. parameters:
  9930. - description: 资金账户 - 格式:1,2,3
  9931. in: query
  9932. name: accountID
  9933. required: true
  9934. type: string
  9935. - description: 成交单号
  9936. in: query
  9937. name: tradeID
  9938. type: integer
  9939. - description: 委托单号
  9940. in: query
  9941. name: orderID
  9942. type: integer
  9943. - description: 交易模式 - 格式:1,2,3
  9944. in: query
  9945. name: tradeMode
  9946. type: string
  9947. - description: 委托单据类型
  9948. in: query
  9949. name: buildType
  9950. type: integer
  9951. - description: 成交类别 - 格式:1,2,3
  9952. in: query
  9953. name: tradeType
  9954. type: string
  9955. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  9956. in: query
  9957. name: startDate
  9958. type: string
  9959. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  9960. in: query
  9961. name: endDate
  9962. type: string
  9963. produces:
  9964. - application/json
  9965. responses:
  9966. "200":
  9967. description: OK
  9968. schema:
  9969. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  9970. "500":
  9971. description: Internal Server Error
  9972. schema:
  9973. $ref: '#/definitions/app.Response'
  9974. security:
  9975. - ApiKeyAuth: []
  9976. summary: 历史成交单查询(合约市场)
  9977. tags:
  9978. - 通用单据
  9979. /Order/QueryHisTradeOrderDetail:
  9980. get:
  9981. parameters:
  9982. - description: 资金账户 - 格式:1,2,3
  9983. in: query
  9984. name: accountID
  9985. required: true
  9986. type: string
  9987. - description: 交易模式 - 格式:1,2,3
  9988. in: query
  9989. name: tradeMode
  9990. type: string
  9991. - description: 委托状态 - 格式:1,2,3
  9992. in: query
  9993. name: orderStatus
  9994. type: string
  9995. - description: 委托单号
  9996. in: query
  9997. name: orderID
  9998. type: integer
  9999. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  10000. in: query
  10001. name: startDate
  10002. type: string
  10003. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  10004. in: query
  10005. name: endDate
  10006. type: string
  10007. produces:
  10008. - application/json
  10009. responses:
  10010. "200":
  10011. description: OK
  10012. schema:
  10013. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  10014. "500":
  10015. description: Internal Server Error
  10016. schema:
  10017. $ref: '#/definitions/app.Response'
  10018. security:
  10019. - ApiKeyAuth: []
  10020. summary: 历史委托单查询请求(合约市场)
  10021. tags:
  10022. - 通用单据
  10023. /Order/QueryTradeDetail:
  10024. get:
  10025. parameters:
  10026. - description: 资金账户 - 格式:1,2,3
  10027. in: query
  10028. name: accountID
  10029. required: true
  10030. type: string
  10031. - description: 成交单号
  10032. in: query
  10033. name: tradeID
  10034. type: integer
  10035. - description: 委托单号
  10036. in: query
  10037. name: orderID
  10038. type: integer
  10039. - description: 交易模式 - 格式:1,2,3
  10040. in: query
  10041. name: tradeMode
  10042. type: string
  10043. - description: 委托单据类型
  10044. in: query
  10045. name: buildType
  10046. type: integer
  10047. - description: 成交类别 - 格式:1,2,3
  10048. in: query
  10049. name: tradeType
  10050. type: string
  10051. produces:
  10052. - application/json
  10053. responses:
  10054. "200":
  10055. description: OK
  10056. schema:
  10057. $ref: '#/definitions/order.QueryTradeDetailRsp'
  10058. "500":
  10059. description: Internal Server Error
  10060. schema:
  10061. $ref: '#/definitions/app.Response'
  10062. security:
  10063. - ApiKeyAuth: []
  10064. summary: 成交单查询(合约市场)
  10065. tags:
  10066. - 通用单据
  10067. /Order/QueryTradeOrderDetail:
  10068. get:
  10069. parameters:
  10070. - description: 资金账户 - 格式:1,2,3
  10071. in: query
  10072. name: accountID
  10073. required: true
  10074. type: string
  10075. - description: 交易模式 - 格式:1,2,3
  10076. in: query
  10077. name: tradeMode
  10078. type: string
  10079. - description: 委托状态 - 格式:1,2,3
  10080. in: query
  10081. name: orderStatus
  10082. type: string
  10083. - description: 委托单号
  10084. in: query
  10085. name: orderID
  10086. type: integer
  10087. produces:
  10088. - application/json
  10089. responses:
  10090. "200":
  10091. description: OK
  10092. schema:
  10093. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  10094. "500":
  10095. description: Internal Server Error
  10096. schema:
  10097. $ref: '#/definitions/app.Response'
  10098. security:
  10099. - ApiKeyAuth: []
  10100. summary: 委托单查询请求(合约市场)
  10101. tags:
  10102. - 通用单据
  10103. /Order/QueryTradePosition:
  10104. get:
  10105. parameters:
  10106. - description: 资金账户 - 格式:1,2,3
  10107. in: query
  10108. name: accountID
  10109. required: true
  10110. type: string
  10111. - description: 交易模式 - 格式:1,2,3
  10112. in: query
  10113. name: tradeMode
  10114. type: string
  10115. produces:
  10116. - application/json
  10117. responses:
  10118. "200":
  10119. description: OK
  10120. schema:
  10121. $ref: '#/definitions/order.QueryTradePositionRsp'
  10122. "500":
  10123. description: Internal Server Error
  10124. schema:
  10125. $ref: '#/definitions/app.Response'
  10126. security:
  10127. - ApiKeyAuth: []
  10128. summary: 持仓汇总查询(合约市场)
  10129. tags:
  10130. - 通用单据
  10131. /Quote/QueryHistoryDatas:
  10132. get:
  10133. parameters:
  10134. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  10135. 日线 10: Tik'
  10136. in: query
  10137. name: cycleType
  10138. required: true
  10139. type: integer
  10140. - description: 商品代码
  10141. in: query
  10142. name: goodsCode
  10143. required: true
  10144. type: string
  10145. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  10146. in: query
  10147. name: startTime
  10148. type: string
  10149. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  10150. in: query
  10151. name: endTime
  10152. type: string
  10153. - description: 条数
  10154. in: query
  10155. name: count
  10156. type: integer
  10157. - description: 是否按时间顺序排序(默认为时间倒序排序)
  10158. in: query
  10159. name: isAsc
  10160. type: boolean
  10161. produces:
  10162. - application/json
  10163. responses:
  10164. "200":
  10165. description: OK
  10166. schema:
  10167. $ref: '#/definitions/quote.HistoryData'
  10168. "500":
  10169. description: Internal Server Error
  10170. schema:
  10171. $ref: '#/definitions/app.Response'
  10172. security:
  10173. - ApiKeyAuth: []
  10174. summary: 查询行情历史数据
  10175. tags:
  10176. - 行情服务
  10177. /Quote/QueryTSData:
  10178. get:
  10179. parameters:
  10180. - description: 商品代码
  10181. in: query
  10182. name: GoodsCode
  10183. required: true
  10184. type: string
  10185. produces:
  10186. - application/json
  10187. responses:
  10188. "200":
  10189. description: OK
  10190. schema:
  10191. $ref: '#/definitions/quote.QueryTSDataRsp'
  10192. "500":
  10193. description: Internal Server Error
  10194. schema:
  10195. $ref: '#/definitions/app.Response'
  10196. summary: 分时图数据查询
  10197. tags:
  10198. - 行情服务
  10199. /SZDZ/QueryConvertConfig:
  10200. get:
  10201. parameters:
  10202. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  10203. 6:交易转花生米(不设置)
  10204. in: query
  10205. name: convertType
  10206. type: integer
  10207. - description: 外部商品代码[JD\PD]
  10208. in: query
  10209. name: outerGoodsCode
  10210. type: string
  10211. - description: 内部商品ID列表[交易],格式:1,2,3
  10212. in: query
  10213. name: innerGoodsIDs
  10214. type: string
  10215. produces:
  10216. - application/json
  10217. responses:
  10218. "200":
  10219. description: OK
  10220. schema:
  10221. $ref: '#/definitions/models.Szdz3convertconfig'
  10222. "500":
  10223. description: Internal Server Error
  10224. schema:
  10225. $ref: '#/definitions/app.Response'
  10226. security:
  10227. - ApiKeyAuth: []
  10228. summary: 查询交易系统转换设置
  10229. tags:
  10230. - 定制【尚志大宗】
  10231. /SZDZ/QueryConvertLog:
  10232. get:
  10233. parameters:
  10234. - description: 资金账户 - 格式:1,2,3
  10235. in: query
  10236. name: accountID
  10237. required: true
  10238. type: string
  10239. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  10240. in: query
  10241. name: startDate
  10242. type: string
  10243. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  10244. in: query
  10245. name: endDate
  10246. type: string
  10247. produces:
  10248. - application/json
  10249. responses:
  10250. "200":
  10251. description: OK
  10252. schema:
  10253. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  10254. "500":
  10255. description: Internal Server Error
  10256. schema:
  10257. $ref: '#/definitions/app.Response'
  10258. security:
  10259. - ApiKeyAuth: []
  10260. summary: 交易系统转换流水查询
  10261. tags:
  10262. - 定制【尚志大宗】
  10263. /SZDZ/QueryGoodsPickup:
  10264. get:
  10265. parameters:
  10266. - description: 资金账户 - 格式:1,2,3
  10267. in: query
  10268. name: accountID
  10269. required: true
  10270. type: string
  10271. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  10272. in: query
  10273. name: takeOrderStatus
  10274. type: integer
  10275. produces:
  10276. - application/json
  10277. responses:
  10278. "200":
  10279. description: OK
  10280. schema:
  10281. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  10282. "500":
  10283. description: Internal Server Error
  10284. schema:
  10285. $ref: '#/definitions/app.Response'
  10286. security:
  10287. - ApiKeyAuth: []
  10288. summary: 商品提货单查询
  10289. tags:
  10290. - 定制【尚志大宗】
  10291. /SZDZ/QueryRecieptOrder:
  10292. get:
  10293. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  10294. parameters:
  10295. - description: 页码
  10296. in: query
  10297. name: page
  10298. type: integer
  10299. - description: 每页条数
  10300. in: query
  10301. name: pagesize
  10302. type: integer
  10303. - description: 商品ID
  10304. in: query
  10305. name: goodsID
  10306. required: true
  10307. type: integer
  10308. - description: 所属账户名称
  10309. in: query
  10310. name: accountName
  10311. type: string
  10312. - description: 市场ID
  10313. in: query
  10314. name: marketID
  10315. type: integer
  10316. - description: 方向 - 0:买 1:卖
  10317. in: query
  10318. name: buyorsell
  10319. required: true
  10320. type: integer
  10321. produces:
  10322. - application/json
  10323. responses:
  10324. "200":
  10325. description: OK
  10326. schema:
  10327. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  10328. "500":
  10329. description: Internal Server Error
  10330. schema:
  10331. $ref: '#/definitions/app.Response'
  10332. security:
  10333. - ApiKeyAuth: []
  10334. summary: 点选挂牌委托单据查询(摘牌大厅)
  10335. tags:
  10336. - 定制【尚志大宗】
  10337. /SZDZ/QuerySZDZTradePosition:
  10338. get:
  10339. parameters:
  10340. - description: 资金账户
  10341. in: query
  10342. name: accountID
  10343. required: true
  10344. type: integer
  10345. produces:
  10346. - application/json
  10347. responses:
  10348. "200":
  10349. description: OK
  10350. schema:
  10351. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  10352. "500":
  10353. description: Internal Server Error
  10354. schema:
  10355. $ref: '#/definitions/app.Response'
  10356. security:
  10357. - ApiKeyAuth: []
  10358. summary: 持仓汇总查询(尚志大宗)
  10359. tags:
  10360. - 定制【尚志大宗】
  10361. /SZDZ/SearchWhite:
  10362. get:
  10363. parameters:
  10364. - description: 用户ID
  10365. in: query
  10366. name: userID
  10367. required: true
  10368. type: integer
  10369. produces:
  10370. - application/json
  10371. responses:
  10372. "200":
  10373. description: OK
  10374. schema:
  10375. $ref: '#/definitions/models.Szdz3searchwhitelist'
  10376. "500":
  10377. description: Internal Server Error
  10378. schema:
  10379. $ref: '#/definitions/app.Response'
  10380. security:
  10381. - ApiKeyAuth: []
  10382. summary: 搜索白名单
  10383. tags:
  10384. - 定制【尚志大宗】
  10385. /Search/SearchGoodses:
  10386. get:
  10387. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  10388. parameters:
  10389. - description: 检索内容
  10390. in: query
  10391. name: content
  10392. required: true
  10393. type: string
  10394. - description: 交易模式,格式:1,2,3
  10395. in: query
  10396. name: tradeModes
  10397. type: string
  10398. produces:
  10399. - application/json
  10400. responses:
  10401. "200":
  10402. description: OK
  10403. schema:
  10404. $ref: '#/definitions/models.SearchGoods'
  10405. "500":
  10406. description: Internal Server Error
  10407. schema:
  10408. $ref: '#/definitions/app.Response'
  10409. summary: 检索商品信息
  10410. tags:
  10411. - 检索服务
  10412. /TaAccount/QueryAmountLog:
  10413. get:
  10414. parameters:
  10415. - description: 页码
  10416. in: query
  10417. name: page
  10418. type: integer
  10419. - description: 每页条数
  10420. in: query
  10421. name: pagesize
  10422. type: integer
  10423. - description: 资金账户 - 格式:1,2,3
  10424. in: query
  10425. name: accountID
  10426. required: true
  10427. type: string
  10428. - description: 资金操作类型 - 格式:1,2,3
  10429. in: query
  10430. name: OperateType
  10431. type: string
  10432. produces:
  10433. - application/json
  10434. responses:
  10435. "200":
  10436. description: OK
  10437. schema:
  10438. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  10439. "500":
  10440. description: Internal Server Error
  10441. schema:
  10442. $ref: '#/definitions/app.Response'
  10443. security:
  10444. - ApiKeyAuth: []
  10445. summary: 资金流水查询(当前)
  10446. tags:
  10447. - 资金账户
  10448. /TaAccount/QueryHisAmountLog:
  10449. get:
  10450. parameters:
  10451. - description: 页码
  10452. in: query
  10453. name: page
  10454. type: integer
  10455. - description: 每页条数
  10456. in: query
  10457. name: pagesize
  10458. type: integer
  10459. - description: 资金账户 - 格式:1,2,3
  10460. in: query
  10461. name: accountID
  10462. required: true
  10463. type: string
  10464. - description: 资金操作类型 - 格式:1,2,3
  10465. in: query
  10466. name: OperateType
  10467. type: string
  10468. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  10469. in: query
  10470. name: startDate
  10471. type: string
  10472. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  10473. in: query
  10474. name: endDate
  10475. type: string
  10476. produces:
  10477. - application/json
  10478. responses:
  10479. "200":
  10480. description: OK
  10481. schema:
  10482. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  10483. "500":
  10484. description: Internal Server Error
  10485. schema:
  10486. $ref: '#/definitions/app.Response'
  10487. security:
  10488. - ApiKeyAuth: []
  10489. summary: 资金流水查询(历史)
  10490. tags:
  10491. - 资金账户
  10492. /Trade/QueryRecieptOrder:
  10493. get:
  10494. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  10495. parameters:
  10496. - description: 页码
  10497. in: query
  10498. name: page
  10499. type: integer
  10500. - description: 每页条数
  10501. in: query
  10502. name: pagesize
  10503. type: integer
  10504. - description: 商品ID
  10505. in: query
  10506. name: goodsID
  10507. required: true
  10508. type: integer
  10509. - description: 所属账户名称
  10510. in: query
  10511. name: accountName
  10512. type: string
  10513. - description: 市场ID
  10514. in: query
  10515. name: marketID
  10516. type: integer
  10517. - description: 方向 - 0:买 1:卖
  10518. in: query
  10519. name: buyorsell
  10520. required: true
  10521. type: integer
  10522. produces:
  10523. - application/json
  10524. responses:
  10525. "200":
  10526. description: OK
  10527. schema:
  10528. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  10529. "500":
  10530. description: Internal Server Error
  10531. schema:
  10532. $ref: '#/definitions/app.Response'
  10533. security:
  10534. - ApiKeyAuth: []
  10535. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  10536. tags:
  10537. - 通用交易
  10538. /User/AddMessageBoard:
  10539. post:
  10540. parameters:
  10541. - description: 用户ID
  10542. in: query
  10543. name: userID
  10544. required: true
  10545. type: integer
  10546. - description: 留言信息
  10547. in: query
  10548. name: message
  10549. required: true
  10550. type: string
  10551. produces:
  10552. - application/json
  10553. responses:
  10554. "200":
  10555. description: OK
  10556. schema:
  10557. $ref: '#/definitions/app.Response'
  10558. "500":
  10559. description: Internal Server Error
  10560. schema:
  10561. $ref: '#/definitions/app.Response'
  10562. security:
  10563. - ApiKeyAuth: []
  10564. summary: 添加用户留言板信息
  10565. tags:
  10566. - 用户信息
  10567. /User/AddUserFavoriteGoods:
  10568. post:
  10569. parameters:
  10570. - description: 用户ID
  10571. in: query
  10572. name: userID
  10573. required: true
  10574. type: integer
  10575. - description: 商品ID
  10576. in: query
  10577. name: goodsID
  10578. required: true
  10579. type: integer
  10580. produces:
  10581. - application/json
  10582. responses:
  10583. "200":
  10584. description: OK
  10585. schema:
  10586. $ref: '#/definitions/app.Response'
  10587. "500":
  10588. description: Internal Server Error
  10589. schema:
  10590. $ref: '#/definitions/app.Response'
  10591. security:
  10592. - ApiKeyAuth: []
  10593. summary: 添加用户商品收藏信息
  10594. tags:
  10595. - 用户信息
  10596. /User/GetLoginID:
  10597. get:
  10598. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  10599. parameters:
  10600. - description: 登录代码
  10601. in: query
  10602. name: username
  10603. required: true
  10604. type: string
  10605. produces:
  10606. - application/json
  10607. responses:
  10608. "200":
  10609. description: OK
  10610. schema:
  10611. $ref: '#/definitions/app.Response'
  10612. "500":
  10613. description: Internal Server Error
  10614. schema:
  10615. $ref: '#/definitions/app.Response'
  10616. summary: 获取登录ID
  10617. tags:
  10618. - 用户信息
  10619. /User/GetUserAccount:
  10620. get:
  10621. parameters:
  10622. - description: 用户ID
  10623. in: query
  10624. name: userID
  10625. required: true
  10626. type: integer
  10627. produces:
  10628. - application/json
  10629. responses:
  10630. "200":
  10631. description: OK
  10632. schema:
  10633. $ref: '#/definitions/models.Useraccount'
  10634. "500":
  10635. description: Internal Server Error
  10636. schema:
  10637. $ref: '#/definitions/app.Response'
  10638. security:
  10639. - ApiKeyAuth: []
  10640. summary: 获取用户账号信息
  10641. tags:
  10642. - 用户信息
  10643. /User/GetUserAuthStatus:
  10644. get:
  10645. parameters:
  10646. - description: 用户ID
  10647. in: query
  10648. name: userID
  10649. required: true
  10650. type: integer
  10651. produces:
  10652. - application/json
  10653. responses:
  10654. "200":
  10655. description: OK
  10656. schema:
  10657. $ref: '#/definitions/app.Response'
  10658. "500":
  10659. description: Internal Server Error
  10660. schema:
  10661. $ref: '#/definitions/app.Response'
  10662. security:
  10663. - ApiKeyAuth: []
  10664. summary: 获取用户实名认证状态
  10665. tags:
  10666. - 用户信息
  10667. /User/QueryMessageBoard:
  10668. get:
  10669. parameters:
  10670. - description: 用户ID
  10671. in: query
  10672. name: userID
  10673. required: true
  10674. type: integer
  10675. produces:
  10676. - application/json
  10677. responses:
  10678. "200":
  10679. description: OK
  10680. schema:
  10681. $ref: '#/definitions/models.Messageboard'
  10682. "500":
  10683. description: Internal Server Error
  10684. schema:
  10685. $ref: '#/definitions/app.Response'
  10686. security:
  10687. - ApiKeyAuth: []
  10688. summary: 获取用户留言板信息
  10689. tags:
  10690. - 用户信息
  10691. /User/QueryUserFavoriteGoodses:
  10692. get:
  10693. parameters:
  10694. - description: 用户ID
  10695. in: query
  10696. name: userID
  10697. required: true
  10698. type: integer
  10699. produces:
  10700. - application/json
  10701. responses:
  10702. "200":
  10703. description: OK
  10704. schema:
  10705. $ref: '#/definitions/models.Userfavoritegoods'
  10706. "500":
  10707. description: Internal Server Error
  10708. schema:
  10709. $ref: '#/definitions/app.Response'
  10710. security:
  10711. - ApiKeyAuth: []
  10712. summary: 获取用户商品收藏信息
  10713. tags:
  10714. - 用户信息
  10715. /User/QueryUserInfo:
  10716. get:
  10717. parameters:
  10718. - description: 用户ID
  10719. in: query
  10720. name: userID
  10721. required: true
  10722. type: integer
  10723. produces:
  10724. - application/json
  10725. responses:
  10726. "200":
  10727. description: OK
  10728. schema:
  10729. $ref: '#/definitions/models.Userinfo'
  10730. "500":
  10731. description: Internal Server Error
  10732. schema:
  10733. $ref: '#/definitions/app.Response'
  10734. security:
  10735. - ApiKeyAuth: []
  10736. summary: 获取用户信息
  10737. tags:
  10738. - 用户信息
  10739. /User/QueryUserReferNum:
  10740. get:
  10741. parameters:
  10742. - description: 用户ID
  10743. in: query
  10744. name: userID
  10745. required: true
  10746. type: integer
  10747. produces:
  10748. - application/json
  10749. responses:
  10750. "200":
  10751. description: OK
  10752. schema:
  10753. $ref: '#/definitions/app.Response'
  10754. "500":
  10755. description: Internal Server Error
  10756. schema:
  10757. $ref: '#/definitions/app.Response'
  10758. summary: 获取用户邀请码
  10759. tags:
  10760. - 用户信息
  10761. /User/RemoveUserFavoriteGoods:
  10762. post:
  10763. parameters:
  10764. - description: 用户ID
  10765. in: query
  10766. name: userID
  10767. required: true
  10768. type: integer
  10769. - description: 商品ID
  10770. in: query
  10771. name: goodsID
  10772. required: true
  10773. type: integer
  10774. produces:
  10775. - application/json
  10776. responses:
  10777. "200":
  10778. description: OK
  10779. schema:
  10780. $ref: '#/definitions/app.Response'
  10781. "500":
  10782. description: Internal Server Error
  10783. schema:
  10784. $ref: '#/definitions/app.Response'
  10785. security:
  10786. - ApiKeyAuth: []
  10787. summary: 移除用户商品收藏信息
  10788. tags:
  10789. - 用户信息
  10790. /User/UpdateUserAccountStatus:
  10791. post:
  10792. parameters:
  10793. - description: 用户ID
  10794. in: query
  10795. name: userID
  10796. required: true
  10797. type: integer
  10798. - description: 账户状态 - 4:正常 6:注销(停用)
  10799. in: query
  10800. name: accountStatus
  10801. required: true
  10802. type: string
  10803. produces:
  10804. - application/json
  10805. responses:
  10806. "200":
  10807. description: OK
  10808. schema:
  10809. $ref: '#/definitions/app.Response'
  10810. "500":
  10811. description: Internal Server Error
  10812. schema:
  10813. $ref: '#/definitions/app.Response'
  10814. security:
  10815. - ApiKeyAuth: []
  10816. summary: 更新用户状态
  10817. tags:
  10818. - 用户信息
  10819. /WR/GetWRCategoryInfo:
  10820. get:
  10821. produces:
  10822. - application/json
  10823. responses:
  10824. "200":
  10825. description: OK
  10826. schema:
  10827. $ref: '#/definitions/models.WRCategoryTree'
  10828. "500":
  10829. description: Internal Server Error
  10830. schema:
  10831. $ref: '#/definitions/app.Response'
  10832. summary: 获取现货分类信息
  10833. tags:
  10834. - 仓单服务
  10835. /WRTrade/GetAllDeliveryGoods:
  10836. get:
  10837. produces:
  10838. - application/json
  10839. - application/json
  10840. responses:
  10841. "200":
  10842. description: OK
  10843. schema:
  10844. $ref: '#/definitions/app.Response'
  10845. "500":
  10846. description: Internal Server Error
  10847. schema:
  10848. $ref: '#/definitions/app.Response'
  10849. security:
  10850. - ApiKeyAuth: []
  10851. - ApiKeyAuth: []
  10852. summary: 获取带仓单分类的种类信息
  10853. tags:
  10854. - 仓单贸易
  10855. - 仓单贸易
  10856. securityDefinitions:
  10857. ApiKeyAuth:
  10858. in: header
  10859. name: Authorization
  10860. type: apiKey
  10861. swagger: "2.0"